Bug summary
I'm used to using the Axis API like ax.xaxis.set_major_formatter(...) etc., so to be consistent it would be nice if one could do ax.xaxis.set_label(...) instead of ax.set_xlabel(...). It seems like ax.xaxis.set_label(...) does not label the axis however.
Code for reproduction
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.xaxis.set_label("x-label")
Actual outcome
Expected outcome
Additional information
No response
Operating system
No response
Matplotlib Version
3.8.3
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
conda
Bug summary
I'm used to using the Axis API like
ax.xaxis.set_major_formatter(...)etc., so to be consistent it would be nice if one could doax.xaxis.set_label(...)instead ofax.set_xlabel(...). It seems likeax.xaxis.set_label(...)does not label the axis however.Code for reproduction
Actual outcome
Expected outcome
Additional information
No response
Operating system
No response
Matplotlib Version
3.8.3
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
conda