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

Appearance settings

_DummyAxis needs a __name__ attribute for ScalarFormatter  #17624

Copy link
Copy link
Closed
@efiring

Description

@efiring
Issue body actions

Bug report

Bug summary

ScalarFormatter.format_data_short(x) uses self.axis__name__ to get xaxis or yaxis info. If the instance was made with a _DummyAxis instance, however, it fails.
Code for reproduction
See next comment.
Matplotlib version
Master (3.2.1.post2853+g15c0d7c39)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.