yt.visualization.plot_window.PlotWindow.set_xlabel

PlotWindow.set_xlabel(*args, **kwargs)

Allow the user to modify the X-axis title Defaults to the global value. Fontsize defaults to 18.

Parameters:

x_title: str :

The new string for the x-axis.

>>> plot.set_xlabel(“H2I Number Density (cm$^{-3}$)”) :