Thanks.<div><br></div><div>There are unit tests for step, but not with markers.<br><br><div class="gmail_quote"><div dir="ltr">On Thu, Apr 12, 2018, 03:25 Pierre Haessig <<a href="mailto:pierre.haessig@crans.org">pierre.haessig@crans.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Thanks for the feedback. Here is the bug report
<a class="m_8884604008792191333moz-txt-link-freetext" href="https://github.com/matplotlib/matplotlib/issues/11031" target="_blank">https://github.com/matplotlib/matplotlib/issues/11031</a> "wrong
x-position of marker with drawstyle='steps-xxx'". I hope the title
is appropriate.<br>
</p>
<p>Is there a unit test for plots with drawstyle='steps-xxx' ?</p>
<p>Best,</p>
<p>Pierre<br>
</p></div><div text="#000000" bgcolor="#FFFFFF">
<br>
<div class="m_8884604008792191333moz-cite-prefix">Le 11/04/2018 à 22:12, Thomas Caswell a
écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">Can you please create a bug report for that? This
is an unintentional change related to simplifying some internal
implementation details.
<div><br>
</div>
<div>For now I suggest plotting your data twice: once with step
and once with just markers which should work on all versions
of Matplotlib.</div>
<div>
<div><br>
</div>
<div>Tom</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Wed, Apr 11, 2018 at 4:08 PM Pierre Haessig
<<a href="mailto:pierre.haessig@crans.org" target="_blank">pierre.haessig@crans.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have noticed a change with line plots using
drawstyle='steps-post' and <br>
markers.<br>
<br>
Using Matplotlib 2.2.2 (Conso_gaz_model.png) there is a marker
at each <br>
"edge" of the line. In a previous Matplotlib version (2.1 or
2.0, cf. <br>
file Conso_gaz_model (copie).png), there was only a marker at
the actual <br>
data point.<br>
<br>
Is this a well-known change or a regression ? (I've quickly
looked at <br>
the issue tracker, but didn't find something)<br>
</blockquote>
</div>
</blockquote>
<br>
</div></blockquote></div></div>