On Thu, 14 Feb 2008, John Hunter apparently wrote:
> if we want the script to be robust in the presence of
> different use directives, eg matplotlib.use('TkAgg') then
> it is good to have the show in there.
Got it.
So ``show`` is a no-op with irrelevant backends.
Just to repeat:
the documentat
On Thu, Feb 14, 2008 at 9:17 AM, Alan G Isaac <[EMAIL PROTECTED]> wrote:
> On Thu, 14 Feb 2008, John Hunter apparently wrote:
> > import numpy as np
> > import matplotlib
> > matplotlib.use('Agg')
> > import matplotlib.pyplot as plt
...snip
> > fig.savefig('myplot.png', dpi=100)
> > plt.show(
On Thu, 14 Feb 2008, John Hunter apparently wrote:
> import numpy as np
> import matplotlib
> matplotlib.use('Agg')
> import matplotlib.pyplot as plt
> x, y = np.random.rand(2,100)
> fig = plt.figure()
> ax = fig.add_subplot(111)
> ax.plot(x, y, marker='o', linestyle='', markerfacecolor='green')
On Thu, 14 Feb 2008, someone wrote:
> I want to draw an xy-plot using the " Backend Agg " of matplotlib.
http://matplotlib.sourceforge.net/leftwich_tut.txt>
hth,
Alan Isaac
-
This SF.net email is sponsored by: Microsoft
On Thu, Feb 14, 2008 at 5:26 AM, sa6113 <[EMAIL PROTECTED]> wrote:
> I want to draw an xy-plot using the " Backend Agg " of matplotlib.
> But I don't know how I must start ...
>
> Would you plz help me or send me an example code ??
import numpy as np
import matplotlib
matplotlib.use('Agg')
imp
I want to draw an xy-plot using the " Backend Agg " of matplotlib.
But I don't know how I must start ...
Would you plz help me or send me an example code ??
--
View this message in context:
http://www.nabble.com/Backend-Agg---problem%21-tp15478464p15478464.html
Sent from the matplotlib - users