make_axis_same¶
-
mastml.plot_helper.
make_axis_same
(ax, max1, min1)[source]¶ Method to make the x and y ticks for each axis the same. Useful for parity plots
Args:
ax: (matplotlib axis object), a matplotlib axes object
max1: (float), the maximum value of a particular axis
min1: (float), the minimum value of a particular axis
Returns:
None