[Matplotlib-users] getting back the old gridline style

Mike Kaufman mckauf at gmail.com
Sun Mar 13 23:52:20 EDT 2016


Sorry, yep this is master. I switched the grid.linestyle to ':', but the 
dot spacing is much much closer together than the old style. How do I 
change the spacing?

M

On 3/13/16 11:50 PM, Thomas Caswell wrote:
> Your 'new' style looks like it taken off of either master or v2.x, not
> 1.5.1.
>
> The default grid linestyle is controlled by 'grid.linestyle' rcparam.
> The old default is ':' (dotted), the new default is '-' (solid).
>
> There is also a 'classic' style which restores all of the old default
> styles.
>
> Tom
>
> On Sun, Mar 13, 2016 at 11:42 PM Mike Kaufman <mckauf at gmail.com
> <mailto:mckauf at gmail.com>> wrote:
>
>
>     I'm not a fan of the new style of gridlines in 1.5.1 (the dot spacing
>     has decreased significantly). How do I get the old style in 1.5.1?
>
>     M
>     _______________________________________________
>     Matplotlib-users mailing list
>     Matplotlib-users at python.org <mailto:Matplotlib-users at python.org>
>     https://mail.python.org/mailman/listinfo/matplotlib-users
>



More information about the Matplotlib-users mailing list