path simplify problem

I am seeing a problem with the path.simplify rcParam. When it is enabled, I see spikes in my plots appear and disappear when I resize the plotting window. When it is disabled, this does not happen. Attached are pictures showing the effect. In the first image, there is no spike at x=2559. In the second plot, I resized the window slightly and the spike appears.

Is this the expected behavior or is this a bug?

Thanks,
Lane

Screenshot-Figure 1.png

Screenshot-Figure 1-1.png

Is this with matplotlib 0.99.1.2, or SVN trunk? 0.99.1.2 has a known bug in the path simplification algorithm.

Mike

Lane Brooks wrote:

···

I am seeing a problem with the path.simplify rcParam. When it is enabled, I see spikes in my plots appear and disappear when I resize the plotting window. When it is disabled, this does not happen. Attached are pictures showing the effect. In the first image, there is no spike at x=2559. In the second plot, I resized the window slightly and the spike appears.

Is this the expected behavior or is this a bug?

Thanks,
Lane

------------------------------------------------------------------------

------------------------------------------------------------------------

------------------------------------------------------------------------

------------------------------------------------------------------------------

  ------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options
  
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

It is version 0.99.1.2.

···

On 05/11/2010 12:54 PM, Michael Droettboom wrote:

Is this with matplotlib 0.99.1.2, or SVN trunk? 0.99.1.2 has a known bug in the path simplification algorithm.

Mike

Lane Brooks wrote:

I am seeing a problem with the path.simplify rcParam. When it is enabled, I see spikes in my plots appear and disappear when I resize the plotting window. When it is disabled, this does not happen. Attached are pictures showing the effect. In the first image, there is no spike at x=2559. In the second plot, I resized the window slightly and the spike appears.

Is this the expected behavior or is this a bug?

Thanks,
Lane

------------------------------------------------------------------------

------------------------------------------------------------------------

------------------------------------------------------------------------

------------------------------------------------------------------------------

  ------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options