Re: [Matplotlib-users] lines with fixed pixel thickness

2011-08-01 Thread Benjamin Root
On Fri, Jul 29, 2011 at 4:51 PM, Mátyás János wrote: > Dear users, > > I would like to draw lines with fixed pixel thickness, for example 1, > 2, or 3 pixels, which remains 1 pixel, even if I zoom in and out the > graph in my interactive application. How can I do this with matplotlib? > > I tried

[Matplotlib-users] lines with fixed pixel thickness

2011-08-01 Thread Mátyás János
Dear users, I would like to draw lines with fixed pixel thickness, for example 1, 2, or 3 pixels, which remains 1 pixel, even if I zoom in and out the graph in my interactive application. How can I do this with matplotlib? I tried to set linewidth to 1 on creating LineCollection, but this creates