We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24789be commit 6861ba1Copy full SHA for 6861ba1
src/axiomatic/pic_helpers.py
@@ -198,7 +198,7 @@ def plot_interactive_spectra(
198
# Create the layout
199
fig.update_layout(
200
xaxis_title="Wavelength (nm)",
201
- yaxis_title="Transmission " + "(dB)" if db else "(linear)",
+ yaxis_title="Transmission " + ("(dB)" if db else "(linear)"),
202
shapes=shapes,
203
sliders=sliders,
204
yaxis=dict(range=[y_min, y_max]),
0 commit comments