You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found an inconsistent behavier for plotting between number coordinate and dates coordiante.
I don't know whether it's easy to fix or it's worthless.
Please see the code below:
Why do you want to plot None vs None? I think the issue here is that ax.plot(None, None) either does not not blow up or at least not add an artist to the canvas. If you want to add an 'empty' line I suggest using plt.polt([], [])
Yes, you are right. I just do not know which one is better solution for an 'empty' line. I've just made some tests, it seems [] is a more decent way to represent an empty line in matplotlib, for example the treatment inside matplotlib legend. Thanks for your suggestion.
I've written some script to represent empty entries as None, I will update them to [].
tacaswell
added a commit
to tacaswell/matplotlib
that referenced
this issue
Apr 19, 2015
Hi,
I've found an inconsistent behavier for plotting between number coordinate and dates coordiante.
I don't know whether it's easy to fix or it's worthless.
Please see the code below:
Part 1: initialization
Part 2: plotting in numbers
Part 3: plotting in dates
Part 1 and Part 2 work well, but Part 3 got error of
The text was updated successfully, but these errors were encountered: