Skip to content

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Jan 7, 2025

The axes (self.xaxis, self.yaxis) as well as their names (self._axis_names) cannot be changed at run time. Therefore, we don't have to recompute the _axis_map on every access. Instead, we can do this once after _init_axis() and store the resulting dict.

@timhoffm timhoffm added this to the v3.11.0 milestone Jan 7, 2025
The axes (self.xaxis, self.yaxis) cannot be changed at run time. Therefore, we don't have to recompute the _axis_map on every access. Instead, we can do this once after `_init_axis()` and store the resulting dict.
@greglucas greglucas merged commit 419b661 into matplotlib:main Jan 7, 2025
39 checks passed
@timhoffm timhoffm deleted the mnt-axis-map branch January 7, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants