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
The command below returns an error in Matplotlib 1.5.0
plt.errorbar([], [], xerr=[], yerr=[])
Even tough
plt.errorbar([], [])
works as expected.
When the x and y coordinates are empty lists, It would make sense for the command to accept empty xerr and yerr keywords as well, without throwing an error, as in the previous Matplotlib version. In fact the empty lists will likely come from code like the following, where np.any(mask)==False
mask = y > 0
plt.errorbar(x[mask], y[mask], xerr=xerr[mask], yerr=yerr[mask])
The text was updated successfully, but these errors were encountered:
tacaswell
added this to the
Critical bugfix release (1.5.1) milestone
Dec 9, 2015
The command below returns an error in Matplotlib 1.5.0
Even tough
works as expected.
When the x and y coordinates are empty lists, It would make sense for the command to accept empty
xerr
andyerr
keywords as well, without throwing an error, as in the previous Matplotlib version. In fact the empty lists will likely come from code like the following, wherenp.any(mask)==False
The text was updated successfully, but these errors were encountered: