I am trying to plot a 3D image where z is time. When I try to set the zaxis label to Year, month I receive an error.
For this:
fig = plt.figure()
ax = plt.axes(projection='3d')
ax.scatter3D(df85['Messwert'], df85['average_cux'], df85['Datum'],c=df85['code'], cmap="jet_r")
ax.zaxis.set_major_formatter(dates.DateFormatter('%Y-%M'))
I got this error:
OverflowError: Python int too large to convert to C long
<Figure size 432x288 with 1 Axes>
Without the set zaxis code I get this image:
Thanks in advance!!!
at bottom of 'Datum':
Name: Datum, Length: 81, dtype: object

