In rqpy.densityplot, we always had a small issue with trying to set x and y limits that were larger than the range of the data. This is because the plotting function used (ax.hist2d) automatically sets the limits based on the range of the data, and we weren't actually using the limits inputted.
I've now passed the limits directly to the range kwarg in ax.hist2d, so that xlims and ylims are properly used.
I've also fixed some white space in _core_plotting.py as a part of this PR.
In
rqpy.densityplot
, we always had a small issue with trying to set x and y limits that were larger than the range of the data. This is because the plotting function used (ax.hist2d
) automatically sets the limits based on the range of the data, and we weren't actually using the limits inputted.I've now passed the limits directly to the
range
kwarg inax.hist2d
, so thatxlims
andylims
are properly used.I've also fixed some white space in
_core_plotting.py
as a part of this PR.