Skip to content

dynamic ticking (#5588) should avoid (if possible) single ticks #5784

Closed

Description

@anntzer

There's only one xtick left in statistics/violinplot_demo.py after #5588 got merged:
violinplot
Compare with before the patch:
violinplot_old
The old xticks were perhaps a bit cramped but there's clearly room for, say, two more xticks in the new output.
(On the other hand, this helped me catch a bug in offset text calculation logic when there's a single tick, so it's not all that bad...)

Activity

  1. added this to the milestone on Jan 2, 2016
  2. tacaswell commented on Jan 2, 2016

    @tacaswell
    Member

    This also starts to touch on the need for categorical axis support.

  3. tacaswell commented on Jan 3, 2016

    @tacaswell
    Member

    I think this is also partially addressed by #5772

  4. self-assigned this
    on May 23, 2016
  5. efiring commented on May 28, 2016

    @efiring
    Member

    I think that improving this without practically defeating the 'auto' functionality requires a combination of setting a lower bound for the upper bound value, as in #6470, combined with letting the Locator switch to a larger set of "nice" intervals from which to choose. The larger the set of intervals, the easier it is to fit in a target number of ticks. The problem is that unless this larger set is exposed as yet another kwarg and rcParam, it will lead to surprises--the Locator will do something other than what the user thought she told it to do, with no way to override that behavior. In other words, it adds another layer of complexity.

  6. added 4 commits that reference this issue on Jun 13, 2016
    e9252ca
    58e3432
    acf1538
    f810e0d
  7. efiring commented on Jun 15, 2016

    @efiring
    Member

    With #6584:
    violinplot_demo

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