sdf_xarray.plotting.calculate_window_boundaries# sdf_xarray.plotting.calculate_window_boundaries(data, xlim=None, x_axis_name='X_Grid_mid', t='time')[source]# Calculate the boundaries a moving window frame. If the user specifies xlim, this will be used as the initial boundaries and the window will move along acordingly. Parameters: data (DataArray) – DataArray containing the target data xlim (tuple[float, float] | None) – x limits x_axis_name (str) – Name of coordinate to assign to the x-axis t (str) – Time coordinate Return type: ndarray