This is a known bug that is fixed in svn (maybe in maint. release too).
The following link gives you a workaround.

http://abitofpythonabitofastronomy.blogspot.com/2009/09/grid-bug-in-axesgrid.html

Depending on your needs, it may better to use spines instead of
axes_grid toolkit.

http://matplotlib.sourceforge.net/examples/pylab_examples/spine_placement_demo.html

Regards,

-JJ


On Wed, Mar 10, 2010 at 10:06 AM, Pribadi, Krishna
<krishna.prib...@harley-davidson.com> wrote:
> I was running this example, but would like to show the grid. For some
> reason, the plt.grid(“on”) does not work. Any thoughts?
>
> http://matplotlib.sourceforge.net/examples/axes_grid/simple_axisline2.html
>
>
>
> Thanks,
>
> Krishna Adrianto Pribadi
>
> Test Engineer
>
> Desk (TTF): 256.480.4450
>
> Cell: 412.401.1477
>
>
>
> Harley-Davidson Motor Co.
>
> Talladega Test Facility
>
> Vehicle Test Stands (VTS)
>
>
>
> This communication (including any attachments) is for the use of the
> intended recipient(s) only and may contain information that is confidential,
> privileged or otherwise legally protected. Any unauthorized use or
> dissemination of this communication is prohibited. If you have received this
> communication in error, please immediately notify the sender by return
> e-mail message and delete all copies of the original communication. Thank
> you for your cooperation
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to