Hi,
How to set the ticks width through rc?
Something like: rc('xtick.major', size=6), but for the width? I cannot
find the proper key.
Thanks.
R.
--
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ri
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 o
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():
tl.set_color(colo
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 hin
On Thu, Jul 14, 2011 at 3:57 PM, T. Tofus von Blisstein
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
'color*' settings in
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 i
my problem was fixed with this
var = float(sys.argv[1])
thanks!
On 14 July 2011 16:24, Benjamin Root wrote:
> On Thursday, July 14, 2011, Pau 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
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 crea
On Wed, Jul 13, 2011 at 6:49 PM, Benjamin Root wrote:
> On Wednesday, July 13, 2011, Justin McCann wrote:
>> $ ipython -pylab
>> #
>> from matplotlib.collections import LineCollection
>> f = figure()
>> plot()
>> ax = gca()
>> vec = numpy.random.random((10,3))
>> segs = []
>> for i in range(
On Thursday, July 14, 2011, Pau 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 but is seems not to
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, bu
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, bu
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
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
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,
"ImportError: Warning: formlayout requires PyQt4 >v4.3"
It seems that it is looking for PyQt; but the
15 matches
Mail list logo