[Matplotlib-devel] plot markers with drawstyle='steps-post'

Thomas Caswell tcaswell at gmail.com
Wed Apr 11 16:12:35 EDT 2018

Can you please create a bug report for that?  This is an unintentional
change related to simplifying some internal implementation details.

For now I suggest plotting your data twice: once with step and once with
just markers which should work on all versions of Matplotlib.


On Wed, Apr 11, 2018 at 4:08 PM Pierre Haessig <pierre.haessig at crans.org>

> Hello,
> I have noticed a change with line plots using drawstyle='steps-post' and
> markers.
> Using Matplotlib 2.2.2 (Conso_gaz_model.png) there is a marker at each
> "edge" of the line. In a previous Matplotlib version (2.1 or 2.0, cf.
> file Conso_gaz_model (copie).png), there was only a marker at the actual
> data point.
> Is this a well-known change or a regression ? (I've quickly looked at
> the issue tracker, but didn't find something)
> Best,
> Pierre
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20180411/84e0a87e/attachment.html>

More information about the Matplotlib-devel mailing list