[Matplotlib-users] Spines and styles

Thomas Caswell tcaswell at gmail.com
Mon Oct 31 19:43:27 EDT 2016


mpl.rcParams['axies.spine.left'] = True

and such.  The syntax for rcparams/style file is correct.

Yes, a documentation PR would be (is always)) welcome :)

Tom

On Mon, Oct 31, 2016 at 7:10 PM Juan Nunez-Iglesias <jni.soma at gmail.com>
wrote:

> Thanks Tom!
>
> These don't appear in the example rcparams file in the documentation, here:
> http://matplotlib.org/users/customizing.html
>
> Would a PR be welcomed with example settings?
>
> To clarify, would this be a correctly-formatted setting?
>
> axes.spine.left = True
> axes.spine.bottom = True
> axes.spine.top = False
> axes.spine.right = False
>
> and correspondingly in the style file:
>
> axes.spine.left: true
> axes.spine.bottom: true
> axes.spine.top: false
> axes.spine.right: false
>
> ?
>
> Thanks,
>
> Juan.
>
> On Tue, Nov 1, 2016 at 12:53 AM, Thomas Caswell <tcaswell at gmail.com>
> wrote:
>
> The 'axes.spine.SIDE' rcparams.
>
> This went in for 1.5.0 via
> https://github.com/matplotlib/matplotlib/pull/4218
>
> Tom
>
> On Mon, Oct 31, 2016 at 6:33 AM Juan Nunez-Iglesias <jni.soma at gmail.com>
> wrote:
>
> Hi all,
>
> Is there a way to remove the top and right axis spines in a Matplotlib
> Style file?
>
> Thanks,
>
> Juan.
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20161031/ff831a30/attachment.html>


More information about the Matplotlib-users mailing list