Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: polar axes RadialLocator doesn't correctly take available space into account to decide number of ticks #24805

Open
@anntzer

Description

@anntzer

Bug summary

Rectilinear axes locators adjust the number of ticks to the physical size of the axes (via axis.get_tick_space()), so that tick labels don't overlap one another (at least under reasonable assumptions of label length). On polar axes, at least the radial ticks are not adjusted in the same way.

Code for reproduction

frompylabimport*subplot(121).set_xlim(0,.2)subplot(122,projection="polar").set_rlim(0,.2)show()

Actual outcome

test
The radial ticklabels completely overlap one another.

Expected outcome

Fewer radial tick(labels).

Additional information

No response

Operating system

fedora37

Matplotlib Version

3.7.0.dev1049+gafa863301c

Matplotlib Backend

qtagg

Python version

3.10

Jupyter version

ENOSUCHLIB

Installation

git checkout

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp