On 05/28/2010 06:31 AM, Richard Ree wrote:
> To visualize trees, I'm creating Path objects that draw horizontal and
> vertical lines between connected nodes.  I make sure to end these
> paths with a MOVETO code and the final vertex, and a STOP code and the
> final vertex.  But I consistently see an anomalous line segment
> getting rendered, angling between two disconnected nodes.  The problem
> is intermittent - if I pan or zoom, the anomalous segment might go
> away or change position.  It's also consistent - if I create two plots
> of the same tree structure, the anomalous segment appears in the same
> way.  I've tried different backends, all the same.  The attached
> screenshots illustrate the problem.  In each case, a detail of the
> tree is shown in the right pane.  path-artefact.png shows the
> anomalous segment angling across the view.  Any ideas on why this
> occurs?  I'm using the latest matplotlib release.

Does it still happen if you turn off path simplification? E.g.

rcParams['path.simplify'] = False

Eric

>
> Thanks
> -Rick
>
>
>
> ------------------------------------------------------------------------------
>
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


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

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to