Skip to content

Commit

Permalink
Changed Quickstart Example according to tardis-sn#1477 (tardis-sn#1557)
Browse files Browse the repository at this point in the history
* changed example according to new feature

* [build docs]
  • Loading branch information
aribalam authored May 20, 2021
1 parent ecee625 commit 16db150
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/quickstart/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@
"spectrum_integrated = sim.runner.spectrum_integrated\n",
"\n",
"figure(figsize=(10,6))\n",
"plot(spectrum.wavelength, spectrum.luminosity_density_lambda, label='normal packets')\n",
"plot(spectrum.wavelength, spectrum_virtual.luminosity_density_lambda, label='virtual packets')\n",
"plot(spectrum.wavelength, spectrum_integrated.luminosity_density_lambda, label='formal integral')\n",
"spectrum.plot(label='normal packets')\n",
"spectrum_virtual.plot(label='virtual packets')\n",
"spectrum_integrated.plot(label='formal integral')\n",
"xlabel('Wavelength [$\\AA$]')\n",
"ylabel('Luminosity [erg/s/$\\AA$]')\n",
"legend()\n",
Expand Down Expand Up @@ -133,7 +133,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.8"
"version": "3.8.3"
},
"nbsphinx": {
"execute": "always",
Expand Down

0 comments on commit 16db150

Please sign in to comment.