Closed xandrd closed 3 months ago
According to the documentation pytplot.get_ylimits, presumably should return the numeric value. However it returns DataArray
pytplot.get_ylimits
Code to reproduce
import pytplot x_data = [1, 2, 3, 4, 5] y_data = [1, 2, 3, 4, 5] pytplot.store_data("Variable1", data={'x': x_data, 'y': y_data}) y1, y2 = pytplot.get_ylimits("Variable1") print(type(y1))
Output
<class 'xarray.core.dataarray.DataArray'>
Expected
<class 'int'>
get_ylimits is updated to match the expected behavior.
According to the documentation
pytplot.get_ylimits
, presumably should return the numeric value. However it returns DataArrayCode to reproduce
Output
Expected