Bug : ax.hist density not auto-scaled when using histtype='step' Bug summary
Bug : ax.hist density not auto-scaled when using histtype='step' Bug summary: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). I need to plot a histogram of some data (generated by numpy.save in binary format) from my work using the matplotlib.axes.Axes.hist function. I noted that the…
The task
I need to plot a histogram of some data (generated by `numpy.save` in binary format) from my work using the `matplotlib.axes.Axes.hist` function. I noted that the histogram's density axis (when setting `density=True`) is not automatically adjusted to fit the whole histogram.
Part of Lego-X/Lego-RL-SWE-Bench-Verified.