On Thu, Nov 24, 2011 at 7:57 AM, Marianne C. <mariyann...@gmail.com> 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
>> I use imshow in axes.Axes instead, to be able to call
>
>
plt.axis('off')

or

ax = plt.gca()
ax.set_axis_off()

should clear the axis bounds and remove ticks as well.

-- 
Gökhan
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to