YAxis:
The documentation (http://matplotlib.sourceforge.net/api/axis_api.html) says:
"Set the ticks position (left, right, both, default or none) 'both' sets the
ticks to appear on both positions, but does not change the tick labels.
'default' resets the tick positions to the default: ticks on both positions,
labels at left. 'none' can be used if you don't want any ticks. 'none' and
'both' affect only the ticks, not the labels."
To test this:
f=figure()
plot()
gca().xaxis.set_ticks_position('none')
gca().yaxis.set_ticks_position('none')
f.show()
The y labels, on my 1.0.0 distribution, disappear, because of this line of code:
elif position == 'none':
self.set_tick_params(which='both', right=False, labelright=False,
left=False, labelleft=False)
the work-around is to execute that line without turning off the labels.
------------------------------------
show()
This may be an ipython problem, when running it with the -pylab option, the
show method now has a Tk.mainloop(), which blocks of course. The work-around it
to call the Figure.show() method instead, as above.
--Toby Burnett
University of Washington
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users