If I set the parameter "transparent" in the "savefig" function, more line are
plotted out on the same figure, when I use the subplot function too.
If I don't set it, all works well.
Suggestions?
thanks in advance,
K.
--
View this message in context:
http://old.nabble.com/Not-understable-beha
I'd like to save an image with sole the graph.
I set up
ax.set_xticklabels([])
ax.set_frame_on(False)
but I get an image with tra graph and some lines on the frame level, wich I
wanna remove.
I attach the image to be more understandable (I circle in red what I'd like
to get off).
Suggestio
Worked out.
Thanks.
Paul Hobson-2 wrote:
>
> Sorry...That first line should be:
> fig, axes = plt.subplots(ncols=3) # note: subplotS not subplot
>
> On Mon, Mar 19, 2012 at 5:45 PM, Paul Hobson wrote:
>> Try it like this:
>>
>> fig, axes = plt.subplots(3,1,1)
>>
Hi folks,
I'd like to remove the black border which is created when I save the image,
letting just the white background and the graph.
Is there a solution??
Thanks,
K.
--
View this message in context:
http://old.nabble.com/How-to-remove-the-black-border-in-a-Matplotlib-figure-tp33508568p33508
On Wed, Mar 14, 2012 at 2:38 PM, kususe wrote:
>
> I got an error using the first subplot function because I have to specify
> 3
> parameters.
> If i do it, I get that "AxesSubplot' object is not iterable"
> I coded using 3 subplot functions, getting the sam
I got an error using the first subplot function because I have to specify 3
parameters.
If i do it, I get that "AxesSubplot' object is not iterable"
I coded using 3 subplot functions, getting the same error.
Thanks
K.
Tony Yu-3 wrote:
>
> On Wed, Mar 14, 2012 at 1
t 5:44 AM, kususe wrote:
>
>>
>> Hi folks,
>> I have a graph got using the subplot command.
>> I'd like to remove all ticks in X axis in all of graph.
>>
>> I used: plt.setp(plt.gca(),'XtickLabel',[])
>>
>> but I get that:
>&
Hi folks,
I have a graph got using the subplot command.
I'd like to remove all ticks in X axis in all of graph.
I used: plt.setp(plt.gca(),'XtickLabel',[])
but I get that:
File "/usr/lib/pymodules/python2.6/matplotlib/artist.py", line 1169, in setp
func = getattr(o,funcName)
AttributeEr
Hi folks,
I've to draw an arrow.
I used Arrow() function:
pa.Arrow(0, 0, x, y, width=1.0)
where I imported
matplotlib.patches as pa
Now, how to use plot() function di display the figure?
Tanks in advance,
K.
--
View this message in context:
http://old.nabble.com/How-to-draw-an-arrow-tp3