As far as I know, there is no user settable attribute. But something
like below will work.
ax = gca()
title("My title")
ax.titleOffsetTrans._t = (0., 10.0/72.) # x, y offset in points/72.
default is (0., 5/72.)
ax.titleOffsetTrans.invalidate()
draw()
Alternatively, you may use
ax.title.set_y(1
Is there anything like a title pad, similar to the xaxis.LABELPAD?
I'd like to see if the plot would look better with the title a bit higher
off the plot.
Thanks,
Che
--
Create and Deploy Rich Internet Apps outside the br
Since you call twinx then twiny, you're creating two additional axes, not one.
And I guess this is why labels are drawn twice. You may do
def twin(ax):
ax2 = ax.figure.add_axes(ax.get_position(True),
frameon=False)
ax2.yaxis.tick_right()
a
Hi,
Did anyone have any insight on this? Alternatively, anyone know why there
has been little uptake on this question ...(apologies that it was
accidentally sent twice)?
Leo
On Tue, Feb 3, 2009 at 11:42 PM, Leo Trottier wrote:
> Matplotlib 0.98.5.2
> Location: C:\leo\.matplotlib
> Running Win
Sure. Just send me a note when the src is ready.
- Charlie
On Sun, Feb 8, 2009 at 3:46 PM, John Hunter wrote:
> We have accumulated a number of bug fixes in our stable release
> branch, so I would like to release the 3rd bugfix release. Please
> test and report any problems
>
>
> http://matp
Hi everyone,
I am plotting a figure where I need two independent x axes and two
independent y axes. I've tried to use both twinx and twiny at the
same time, and this works to some extent, but it looks like it is
plotting the labels for the bottom x axis and the right-hand y axis
twice, whi
We have accumulated a number of bug fixes in our stable release
branch, so I would like to release the 3rd bugfix release. Please
test and report any problems
http://matplotlib.sourceforge.net/release-candidates/matplotlib-0.98.5.3.tar.gz
Charlie, will you have any time early next week for th
Never mind - I just saw the very timely e-mail from Jouni.
Thanks!
On Sun, 8 Feb 2009 14:16:59 -0600
Alan Jackson wrote:
> Trying to find a simple way to shrink the tick labels for this plot -
> since I can have many tiny histograms, the labels need to be smaller,
> but it isn't obvious to me h
Trying to find a simple way to shrink the tick labels for this plot -
since I can have many tiny histograms, the labels need to be smaller,
but it isn't obvious to me how to simply shrink them.
code snippet...
num = len(datasets)
fig = plt.figure()
rows = np.int(np.sqrt(num))
cols = np.int(float(
A B writes:
>f = pyplot.figure()
When you do this, matplotlib retains a reference to the figure until you
close it so that you can go back to it with e.g. figure(4). So add
pyplot.close(f) to your script. Or, even better, use the object-oriented
API. To get started with that, see
http://mat
Hi,
Following is my post to the Django mailing list from yesterday. The response
was that Django isn't known to leak memory so there should be something off
with matplotlib or rather that way I am using it.
Hopefully someone here could comment on what could be causing the leaks.
Thanks in advance.
11 matches
Mail list logo