Skip to content

Limit what style.use can affect? #4855

Closed

Description

@mdboom

This might be a controversial proposal, so I thought I'd get some discussion first.

In astropy, there is a "house style", which, surprising to me, included interactive: True. I wouldn't have expected a style to affect the interactive setting (which I see more as a user preference than affecting the style of the output). I'm going to advocate that astropy removes that but relatedly...

Would it make sense to filter out rcParams that don't really relate to style in style.use? I realize this somewhat breaks DWIM, but it does prevent a certain kind of shooting oneself in the foot...

Activity

  1. tacaswell commented on Aug 3, 2015

    @tacaswell
    Member

    👍 from me.

  2. added this to the milestone on Aug 3, 2015
  3. efiring commented on Aug 3, 2015

    @efiring
    Member

    Offhand, such a limitation sounds to me like a good idea.

    On 8/3/15, Michael Droettboom notifications@github.com wrote:

    This might be a controversial proposal, so I thought I'd get some discussion
    first.

    In astropy, there is a "house style", which, surprising to me, included
    interactive: True. I wouldn't have expected a style to affect the
    interactive setting (which I see more as a user preference than affecting
    the style of the output). I'm going to advocate that astropy removes that
    but relatedly...

    Would it make sense to filter out rcParams that don't really relate to style
    in style.use? I realize this somewhat breaks DWIM, but it does prevent a
    certain kind of shooting oneself in the foot...


    Reply to this email directly or view it on GitHub:
    #4855

  4. WeatherGod commented on Aug 3, 2015

    @WeatherGod
    Member

    others might be the backend, keymaps, etc. As I was making the "classic"
    style, I was conflicted in a few spots about what to explicitly set in the
    style. I may be a bit overzealous when I made it and it could be trimmed
    back before merging (once we figure out the whole font issue...).

    On Mon, Aug 3, 2015 at 10:36 AM, Eric Firing notifications@github.com
    wrote:

    Offhand, such a limitation sounds to me like a good idea.

    On 8/3/15, Michael Droettboom notifications@github.com wrote:

    This might be a controversial proposal, so I thought I'd get some
    discussion
    first.

    In astropy, there is a "house style", which, surprising to me, included
    interactive: True. I wouldn't have expected a style to affect the
    interactive setting (which I see more as a user preference than affecting
    the style of the output). I'm going to advocate that astropy removes
    that
    but relatedly...

    Would it make sense to filter out rcParams that don't really relate to
    style
    in style.use? I realize this somewhat breaks DWIM, but it does prevent
    a
    certain kind of shooting oneself in the foot...


    Reply to this email directly or view it on GitHub:
    #4855

    —
    Reply to this email directly or view it on GitHub
    #4855 (comment)
    .

  5. dopplershift commented on Aug 3, 2015

    @dopplershift
    Contributor

    👍 Less foot shooting is a good thing.

  6. modified the milestones: , on Oct 8, 2015
  7. self-assigned this
    on Nov 8, 2015
  8. added a commit that references this issue on Nov 8, 2015
    c90bcfb
  9. added a commit that references this issue on Dec 31, 2015
    8decc8c
  10. added a commit that references this issue on Jan 5, 2016
    4c319fc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions