79226179

Date: 2024-11-26 10:07:53
Score: 0.5
Natty:
Report link

With ax.set_ylim() I have to always also use ax.set_yticks() in order for the plots to come out correct.

Try:

my_min = flux_min - constant
my_max = flux_max + constant

step   = 0.1  # some reasonable step size for the y-axis

ax.set_ylim(my_min, my_max)
ax.set_yticks(np.arange(my_min, my_max, step))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: André