Thanks.  This is definitely a bug.  I just fixed it in SVN r7858.

http://matplotlib.svn.sourceforge.net/viewvc/matplotlib?view=rev&revision=7858

Unfortunately, this requires a recompile.  You can build from SVN, or 
download the 0.99.1 tarball and manually apply the above patch.

Mike

Yann Goudard wrote:
> Hi,
>
> I notice hatch is not drawn correctly when I zoom in axes.
>
> #!/usr/bin/env python
> import matplotlib.pyplot as plt
> from matplotlib.patches import Rectangle
>
> axes = plt.subplot(111)
> axes.add_patch(Rectangle((0, 0), 1, 1, fill=False, hatch="/"))
> plt.show()
>
> Is there a way to fix it ?
>
> Regards,
>
> Yann
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to