On Fri, Nov 25, 2011 at 6:39 PM, Gökhan Sever wrote:
>
> plt.axis('off')
>
> or
>
> ax = plt.gca()
> ax.set_axis_off()
>
> should clear the axis bounds and remove ticks as well.
>
Thank you so much, Gökhan! That's exactly what I was looking for.
Best,
Marianne
-
>
> From: "Marianne C."
> Date: November 24, 2011 6:48:34 AM PST
> To: matplotlib-users@lists.sourceforge.net
> Subject: [Matplotlib-users] Removing ticks and frame (imshow)
>
>
> Hi all,
>
> My name is Marianne, I am a beginner user of matplotl
On Thu, Nov 24, 2011 at 9:48 AM, Marianne C. wrote:
> Hi all,
>
> My name is Marianne, I am a beginner user of matplotlib.
> I am using imshow in pyplot. I am desperate to get rid of
> the ticks on both x and y axes (see attached picture). I
> do not need the black box around the data either.
On Thu, Nov 24, 2011 at 7:57 AM, Marianne C. wrote:
>
> My name is Marianne, I am a beginner user of matplotlib.
>> I am using imshow in pyplot. I am desperate to get rid of
>> the ticks on both x and y axes (see attached picture). I
>> do not need the black box around the data either. Should
>
Hi Friedrich and everybody else,
Thank you for your reply.
I think I am not getting everything, but in my understanding,
the object which I create is not a Figure or an Axis, it is an
AxesImage. gca() or gcf() return errors indeed.
Therefore, I cannot use attributes which are specific to Figure
2011/11/24 Marianne C. :
> On Thu, Nov 24, 2011 at 3:48 PM, Marianne C. wrote:
>> Hi all,
>>
>> My name is Marianne, I am a beginner user of matplotlib.
>> I am using imshow in pyplot. I am desperate to get rid of
>> the ticks on both x and y axes (see attached picture). I
>> do not need the bla
Hello,
I am sending my email again, with no attachment this time.
Thanks for reading!
Marianne
On Thu, Nov 24, 2011 at 3:48 PM, Marianne C. wrote:
> Hi all,
>
> My name is Marianne, I am a beginner user of matplotlib.
> I am using imshow in pyplot. I am desperate to get rid of
> the ticks on