Hi all,
I've come across an apparent bug in imshow when outputting to PDF and
EPS files. (I haven't tested other vector formats.) It manifests as
a small scaling error between the raster image and the axes
coordinates.
I have attached a test script to illustrate the problem. The
(correct) PNG
Hi all,
In June '06, there was a short discussion on getting images displayed on log
axes (thread: showing an image on log axes?). John Hunter posted this
example code:
from pylab import figure, show, nx
fig = figure()
ax = fig.add_subplot(111)
im = nx.mlab.rand(500,500)
ax.imshow(im,
Hi all,
I have a question about zorder and Axis elements. I read in the
thread titled zorder not working for grid lines?? that since grid
lines are Axis elements, they don't respect the zorder. It's
possible to set grid lines below other plot elements with
Axis.set_axisbelow().
On Aug 31, 2006, at 4:36 AM, John Hunter wrote:
So: how do you solve your problem, of making the first tick invisible?
What I do when I need to solve this problem, which comes up a lot with
multiple axes where ticks can overlap, is the following
from matplotlib.ticker import ScalarFormatter
xtl = ax.get_xticklabels()
xtl[0].set_visible(False)
print len(xtl)
ax.set_xlabel('foo')
show()
Thanks in advance,
Mike
On Aug 24, 2006, at 7:16 PM, Michael Fitzgerald wrote:
Hi all,
Sometime in the past couple months, there's been a change in SVN
that's
causing me problems when trying
Hi all,
Sometime in the past couple months, there's been a change in SVN that's
causing me problems when trying to hide tick labels. I think the problem is
related to the get_xticklabels()/get_yticklabels() methods of the Axes class,
in that they only return a list consisting of a single
Hi all,
I'm seeing some unexpected behavior when trying to hide a tick label,
which I like to do with ganged plots. When I attempt this, however,
it seems the axis label is no longer drawn. For example,
x = arange(5)
ax = subplot(111)
ax.plot(x, x)
xtl = ax.get_xticklabels()
Hello,
It looks like there are a couple of typos in the equations used in the
function.
On Friday 07 July 2006 12:17, Faheem Mitha wrote:
I think the bivariate normal probability distribution function
implementation in Matplotlib is buggy. See the example code below, and
note that the