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 kwarg documentation is for markers, which don't use drawstyle. Its unfortunate drawstyle is in there, but its for completeness with other plot calls. Its entirely possible this didn't error before, but I don't think it ever did anything either.
I don't know a simple way to replicate the above picture using plt.bar(). I could use plt.stairs() and overlay with plt.errorbar(), but the ds='steps-mid' option is better IMO
Activity
jklymak commentedon May 2, 2021
Did it ever work? I am not sure what this kwarg is supposed to do for errorbar...
jeffburggraf commentedon May 3, 2021
I believe so, at least it worked in the previous version. If it's not suppose to work, then the documentation needs updating.
jklymak commentedon May 3, 2021
What do you expect it to do though?
The kwarg documentation is for markers, which don't use
drawstyle. Its unfortunatedrawstyleis in there, but its for completeness with other plot calls. Its entirely possible this didn't error before, but I don't think it ever did anything either.jeffburggraf commentedon May 3, 2021
I use the kwarg to produce histograms like this:
I don't know a simple way to replicate the above picture using plt.bar(). I could use plt.stairs() and overlay with plt.errorbar(), but the ds='steps-mid' option is better IMO
anntzer commentedon May 3, 2021
This was fixed in #19888.