skypyproject / skypy

SkyPy: A package for modelling the Universe.
BSD 3-Clause "New" or "Revised" License
118 stars 38 forks source link

BUG: Wrong y-label in plot of luminosity function example #509

Closed philipp128 closed 2 years ago

philipp128 commented 2 years ago

Describe the bug The wrong y-label is given in the plot of the example for sampling from the Schechter Luminosity function.

To Reproduce Steps to reproduce the behavior:

  1. Go to: https://skypy.readthedocs.io/en/stable/examples/galaxies/plot_schechter.html#sphx-glr-examples-galaxies-plot-schechter-py
  2. Scroll down to plot
  3. See y-label of plot: Given as log10(\Phi)

Expected behavior The y-label should be \Phi and not log10(\Phi). Lopez-Sanjuan+17 gives values for log10(\Phi) but we are plotting 10**log10(\Phi).