Gianluca Santarossa
[EMAIL PROTECTED] writes:
In this example, on my PC both the entries in the legend appear in blue
color:
legend((bar1,bar2), ('First','Second'))
You want legend((bar1[0],bar2[0]), ('First','Second')). What happened
was that matplotlib made a legend entry for two of the
You want legend((bar1[0],bar2[0]), ('First','Second')). What happened
was that matplotlib made a legend entry for two of the blue bars in
bar1; it would have made six entries, but stopped because you only gave
it two labels.
Dear Jouni,
thanks for all the answers.
Gianluca
James Boyle [EMAIL PROTECTED] writes:
I have not been able to figure out how to just make the first and
last ytick labels vanish. [...]
I thought that the following might work but this just makes all the
labels disappear - my understanding is incomplete.
ytl = a.get_yticklabels()
Christian Meesters [EMAIL PROTECTED]
writes:
is it somehow possible to have a hatch in parts of the background, which
would achieve something like this pseudo-parameter to axvspan
pylab.axvspan(2, 10, hatch='//')?
Do you mean something like this?
In [34]:
Hello,
I noticed, that bar() with log=True plots very strange graphs. In fact,
the bars in this case grow from the bottom of the graph (I guess from
the value of log(+0), i.e. -∞). This way the relative height of the bars
says almost nothing about the value of data, because the bars are
higher,
Hello,
I can successfully change the facecolor in a figure but when I try and save it
to a file (jpg or png) the color goes away - the rest of the plot remains only
the facecolor reverts to white. I have tried using GTK and GTKAgg. I have
also tried changing the 'savefig' value in the RC file
On Friday 14 September 2007 02:19:35 pm fatuheeva wrote:
Hello,
I can successfully change the facecolor in a figure but when I try and save
it to a file (jpg or png) the color goes away - the rest of the plot
remains only the facecolor reverts to white. I have tried using GTK and
GTKAgg. I
Darren Dale [EMAIL PROTECTED] wrote: On Friday 14 September 2007 02:19:35 pm
fatuheeva wrote:
Hello,
I can successfully change the facecolor in a figure but when I try and save
it to a file (jpg or png) the color goes away - the rest of the plot
remains only the facecolor reverts to white.