On 07/13/2011 09:18 PM, Armagan Tarim wrote:
Hi All,
I have tried the sample PySide code given at
http://www.scipy.org/Cookbook/Matplotlib/PySide
the below excerpt is from my Python Shell for this sample code, which
gives this error,
Github master works with pyside. It is expected to emerge
Hi,
I have a very naive question ... howmdo I pass an arg to a matplotlib
script? I need to run MyScript 34 12 67 25 for the script to use those
numbers to multiply quantities for producing a plot... I am using
sysarg[1], 2, 3 but is seems not to work.
thanks
Sorry, it doesn't work.
ax.set_ylabel(foo)
doesn't change anything (before ax.yaxis.cla()).
And f.clf(keep_observers=False) still locks the process.
But maybe I used wrong terms. Here is the displays ; left before the
clearing ; right, after the clearing ; the plot is correctly renewed, but
Sorry, it doesn't work.
ax.set_ylabel(foo)
doesn't change anything (before ax.yaxis.cla()).
And f.clf(keep_observers=False) still locks the process.
But maybe I used wrong terms. Here is the displays ; left before the
clearing ; right, after the clearing ; the plot is correctly renewed, but
On Thursday, July 14, 2011, Pau vim.u...@googlemail.com wrote:
Hi,
I have a very naive question ... howmdo I pass an arg to a matplotlib
script? I need to run MyScript 34 12 67 25 for the script to use those
numbers to multiply quantities for producing a plot... I am using
sysarg[1], 2, 3
On Wed, Jul 13, 2011 at 6:49 PM, Benjamin Root ben.r...@ou.edu wrote:
On Wednesday, July 13, 2011, Justin McCann jne...@gmail.com wrote:
$ ipython -pylab
#
from matplotlib.collections import LineCollection
f = figure()
plot()
ax = gca()
vec = numpy.random.random((10,3))
segs = []
Hi,
how can I invert the colors of axes/background from black/white to white/black?
thanks... I have been googling for a while...
T.
--
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the
my problem was fixed with this
var = float(sys.argv[1])
thanks!
On 14 July 2011 16:24, Benjamin Root ben.r...@ou.edu wrote:
On Thursday, July 14, 2011, Pau vim.u...@googlemail.com wrote:
Hi,
I have a very naive question ... howmdo I pass an arg to a matplotlib
script? I need to run
hi, is it possible to restrict a contour plot to a
country? if i grid my data to projection coordinates
and then make a contour plot i can draw the country
borders on top, but since the data plotted outside
the country is a gridding artifact i would rather
not plot it.
to make it more clear what
On Thu, Jul 14, 2011 at 3:57 PM, T. Tofus von Blisstein
tuffst...@googlemail.com wrote:
Hi,
how can I invert the colors of axes/background from black/white to
white/black?
thanks... I have been googling for a while...
If you want to do it for all your plots, you can mess with all of the
Hi,
The following code displays a figure with both a red and a blue arrow
(generated by annotate). But the pdf that is saved only shows the red
one. It seems that the line ax1.set_xscale('log') is causing the
trouble, because if it is commented out, the blue arrow reappears in the
pdf. Any
The following helpers do the trick for me:
def set_foregroundcolor(ax, color):
'''For the specified axes, sets the color of the frame, major ticks,
tick labels, axis labels, title and legend
'''
for tl in ax.get_xticklines() + ax.get_yticklines():
As Eric said Github master works with PySide. If you can't wait for a
release and you don't want to run the Github version of MPL you can use
the following code to render a plot inside a PySide app. Note that this
will just show the plot image. You won't get the tool bar, status bar
or any
13 matches
Mail list logo