diff --git a/notebooks/IFU_cube_continuum_fit/NGC4151_FeII_ContinuumFit.ipynb b/notebooks/IFU_cube_continuum_fit/NGC4151_FeII_ContinuumFit.ipynb index 9b88174ad..0bda20cc5 100644 --- a/notebooks/IFU_cube_continuum_fit/NGC4151_FeII_ContinuumFit.ipynb +++ b/notebooks/IFU_cube_continuum_fit/NGC4151_FeII_ContinuumFit.ipynb @@ -541,7 +541,7 @@ "outputs": [], "source": [ "# List available data\n", - "print(cubeviz.app.data_collection)" + "print(cubeviz.data_labels)" ] }, { diff --git a/notebooks/ifu_optimal/ifu_optimal.ipynb b/notebooks/ifu_optimal/ifu_optimal.ipynb index 2af8ef5d3..d1920ca40 100644 --- a/notebooks/ifu_optimal/ifu_optimal.ipynb +++ b/notebooks/ifu_optimal/ifu_optimal.ipynb @@ -300,7 +300,7 @@ "\n", "print(\"\\nSource\")\n", "try:\n", - " spectrum_subset1 = cubeviz.get_data(cubeviz.app.data_collection[0].label,\n", + " spectrum_subset1 = cubeviz.get_data(cubeviz.data_labels[0].label,\n", " spatial_subset=\"Subset 1\", function=\"mean\")\n", " print(spectrum_subset1)\n", "except Exception:\n", diff --git a/notebooks/mos_spectroscopy_advanced/MOSspec_advanced.ipynb b/notebooks/mos_spectroscopy_advanced/MOSspec_advanced.ipynb index 196e9db0e..de40538c3 100644 --- a/notebooks/mos_spectroscopy_advanced/MOSspec_advanced.ipynb +++ b/notebooks/mos_spectroscopy_advanced/MOSspec_advanced.ipynb @@ -470,8 +470,8 @@ "metadata": {}, "outputs": [], "source": [ - "# List what is in the data menu\n", - "[d.label for d in specviz.app.data_collection]" + "# List what's in the data menu\n", + "specviz.data_labels" ] }, {