2010/7/18 Simon Friedberger <simon+matplot...@a-oben.org>:
> On 22:49 Sat 17.07.10, Friedrich Romstedt wrote:
>> Maybe try to use axes.set_xticks() first, see
>> http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.set_xticks
>> .
> I know about that but couldn't find any useful way. Could you be more
> specific?

Try to add:

ax.set_xticks(range(0, 10))
ax.set_yticks(range(0, 10))

before the imshow call.

For some reason it must happen before the imshow call and not after,
else the yscaling will change (I don't understand this).

>> Your code on pocoo is messed up with whitespace.  Is that intentional?
> Messed up? It looks all good to me.

Sorry, but there is plenty of whitespace at the end of each line when
I copy-paste the code, even in raw format.

hth you,
Friedrich

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to