Re: [Matplotlib-users] Label for axhline

2012-11-28 Thread Mads Ipsen
Sterling, Thanks - I ended up adding an extra y-tick with minor=True. Something along these lines: # Add Fermi line y = self._bandstructure.fermiLevel() self._axes.axhline(y=y, linestyle=':') # Add Fermi tick tick = self._axes.set_yticks([y], minor=True)[0] tick.label1On = False tick.label2On =

Re: [Matplotlib-users] Hiding axis

2012-11-28 Thread Angus McMorland
On 28 November 2012 15:28, Vilson Vieira wrote: > Hi, > > I'm using matplotlib to draw some generative art works. I'm trying to hide > the axis but when I do that the lines that are over the axis are hidden as > well, like this example: http://i.imgur.com/hKqMi.png > > The code I'm using to genera

[Matplotlib-users] Hiding axis

2012-11-28 Thread Vilson Vieira
Hi, I'm using matplotlib to draw some generative art works. I'm trying to hide the axis but when I do that the lines that are over the axis are hidden as well, like this example: http://i.imgur.com/hKqMi.png The code I'm using to generate those kind of random walk plots is here: https://gist.gith

Re: [Matplotlib-users] Label for axhline

2012-11-28 Thread Sterling Smith
Mads, I recommend trying a text object[1], with a transform which is a blended transform from a transform factory[2]. Also, you probably want the x coordinate in axes coordinates, with a left horizontal alignment. -Sterling [1] http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.text

[Matplotlib-users] Contour Labels Misplaced in Aitoff Projetion, and Bad eps Output

2012-11-28 Thread Chad Parker
Hi Folks- I'm working on a plot using an Aitoff projection, and I've noticed a couple of problems: 1. There seems a problem with the positioning of contour labels in some of the projections. In the Aitoff, Lambert, and Mollweide projections, the some of the contour labels appear to be shifted. In

[Matplotlib-users] Label for axhline

2012-11-28 Thread Mads Ipsen
Hi, I would like to add a label or tick label for an axhline(), in such a way that the labels follows the location of the hline. The x-coordinate of the label should be in screen coordinates (a little to the right of the plot) - but the y-coordinate should be in data coordinates. Any good

Re: [Matplotlib-users] mailing list archive broken ?

2012-11-28 Thread Pierre Haessig
Hi Phil, Le 28/11/2012 12:58, Phil Elson a écrit : > I've just submitted a pull request > (https://github.com/matplotlib/matplotlib/pull/1540) to get the mpl > docs to link to the nabble archive instead > (http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html >

Re: [Matplotlib-users] mailing list archive broken ?

2012-11-28 Thread Phil Elson
Hi Pierre, Thanks for raising this (sorry we haven't got back to you sooner). The mailing list isn't dead, but the archiving link certainly makes it look like it is. I've just submitted a pull request ( https://github.com/matplotlib/matplotlib/pull/1540) to get the mpl docs to link to the nabble