I am new user of nctoolkit, so I follow the tutorial (https://nctoolkit.readthedocs.io/en/v1.1.11/visualization.html) to study this package.
My code is listed as following:
import nctoolkit as nc
ff = "/media/sf_E_DRIVE/Data/copernicus/sst.mon.mean.nc"
ds = nc.open_data(ff)
ds.spatial_mean()
ds.assign_coords(lon_name = "lon",lat_name = "lat")
ds.plot()
I had try use matlibplot to test the figure in jupyterlab,but it could work well,code is listed as following:
import matplotlib.pyplot as plt
plt.plot([1,2],[1,3])