-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plotly 3.2.0 troubles with Pandas Series date time display #1160
Comments
Thanks for reporting this @VelizarVESSELINOV , Looks like an oversight from #1149 |
1) Preserve numeric numpy types as is in validator out, even if that numeric type is not supported as JavaScript TypedArray 2) Update widget serializer to check numeric numpy arrays for whether they are compatible with TypedArrays. If not, serialize as list. 3) Call to_pydatetime() on pandas datetime series/index values when passed to copy_to_readonly_numpy_array. This returns numpy array of datetimes (which we already know how to serialize) Fixes datetime issue in #1160 Fixes FigureWidget issue in #1155
* Fix error when setting compound or compound array property to `None` * Pandas datetime and numpy numeric array fixes 1) Preserve numeric numpy types as is in validator out, even if that numeric type is not supported as JavaScript TypedArray 2) Update widget serializer to check numeric numpy arrays for whether they are compatible with TypedArrays. If not, serialize as list. 3) Call to_pydatetime() on pandas datetime series/index values when passed to copy_to_readonly_numpy_array. This returns numpy array of datetimes (which we already know how to serialize) Fixes datetime issue in #1160 Fixes FigureWidget issue in #1155
Fixed in #1163 and will be released next week as part of 3.2.1. I'm hoping to publish a release candidate of 3.2.1 on Monday, and it would be great if you could give it a try 🙂 Thanks again for the report! |
3.2.1rc1 is available. If you have time to confirm the issue is fixed for you that would great. Instructions at https://github.com/plotly/plotly.py/tree/release_3.2.1. |
Can confirm that timestamps are correctly displayed again in 3.2.1rc1. |
Migrated to the latest version of Plotly and have troubles to display date time data in a Scatter plot.
Using the same Python code passing Pandas DateTime columns:
3.1.1. give us the following output:
3.2.0 give us:
The text was updated successfully, but these errors were encountered: