After updating Plotly, I started receiving the following
python3.11/site-packages/_plotly_utils/basevalidators.py:105: FutureWarning: The behavior of DatetimeProperties.to_pydatetime is deprecated, in a future version this will return a Series containing python datetime objects instead of an ndarray. To retain the old behavior, call `np.array` on the result
I’m not explicitly using
to_pydatetime() in my code. However, I am using a Pandas DataFrame to build various Plotly graphs over time, where the x-axis is populated with Pandas datetime objects (from a DataFrame column).
Does anyone have any suggestions on how to address this warning? (I don’t think explicitly converting the datetime properties to a NumPy array is the solution in this case.)