You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
In this case, the boundaries kwarg is causing the use of a _DummyAxis, which lacks a __name__ attribute.
The problem was noticed while looking at #17453.
efiring
changed the title
ScalarFormatter should not require an Axis with a __name__
_DummyAxis needs a __name__ attribute for ScalarFormatter
Jun 13, 2020
Bug report
Bug summary
ScalarFormatter.format_data_short(x)
usesself.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)
The text was updated successfully, but these errors were encountered: