On Tue, Mar 31, 2009 at 2:16 AM, Jouni K. Seppänen j...@iki.fi wrote:
Use fig.add_axes([0,0,1,1],frameon=False) instead - add_subplot reserves
some space for a title, axis labels, etc.
Great, that works. I have noticed that when I use ticks and labels,
the border sometimes cuts things off
Is it possible to control (actually remove) the amount of white space
padded to a figure when saving to a file? For example, the white
border found on the output of something like the following:
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
fig = plt.figure()
ax =
I'm trying to add some more complex LaTeX-rendered equations into a a
figure, and having some problems. I've been trying various things
with 'usetex', but it seems the problem might be that I can't seem to
write the LaTex code on a single line.
For example, can you not do:
ax.text(0,0,r
...
...
On Wed, Dec 17, 2008 at 1:07 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote:
On Wed, Dec 17, 2008 at 9:09 AM, Ken Schutte kts.li...@gmail.com wrote:
On Wed, Dec 17, 2008 at 1:49 AM, Jae-Joon Lee lee.j.j...@gmail.com
wrote:
This is a correct way indeed.
I believe that you considered
On Wed, Dec 17, 2008 at 1:49 AM, Jae-Joon Lee lee.j.j...@gmail.com wrote:
This is a correct way indeed.
I believe that you considered it as a plain line because the arrow
head is too small.
You need to adjust the mutation_scale parameter. Try
c = matplotlib.patches.FancyArrowPatch((0.2,
This new FancyArrow stuff looks great, but I'm having trouble getting it to
work. All of the gallery examples I see seem to only use it thru an
'annotate' call. I just want to draw these arrows directly.
I tried the following, but it just draws a plain line:
ax = gca()
c =