[Matplotlib-users] Why are all my plots displayed as closed loops?
tcaswell at gmail.com
Sat Jun 4 20:04:54 EDT 2016
In the future, it is best to include a minimal example in your email to the
user list. tinyurls (and SO posts) are almost certainly going to rot.
`Line2D` draws lines connecting the points in the order you pass them in.
If mpl sorted your data based on the x values then you could never plot
anything was not a single valued function f(x).
On Sat, Jun 4, 2016 at 6:39 PM Paul D. DeRocco <pderocco at ix.netcom.com>
> Using Matplotlib 1.5.1, PyGTK 2.24.2, Python 2.7.11
> Everything I plot has a straight line connecting the end of the graph back
> to the beginning. I've posted some sample code, along with screen caps of
> the results, at Stackoverflow: http://preview.tinyurl.com/hb62una
> I'm new at Matplotlib, so I must be doing something wrong.
> Ciao, Paul D. DeRocco
> Paul mailto:pderocco at ix.netcom.com
> Matplotlib-users mailing list
> Matplotlib-users at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Matplotlib-users