File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -351,17 +351,17 @@ def _spectrogram(
351351
352352 if is_infrasound :
353353 ylab = 'Pressure (Pa)'
354- clab = f 'Power (dB rel. [{ REFERENCE_PRESSURE * 1e6 :g} µPa]$^2 $ Hz$^{{-1}}$)'
354+ clab = rf 'Power (dB rel. [{ REFERENCE_PRESSURE * 1e6 :g} µPa]$\mathdefault{{^2}} $ Hz$\mathdefault{{ ^{{-1}} }}$)'
355355 ref_val = REFERENCE_PRESSURE
356356 else :
357- ylab = 'Velocity (µm s$^{-1}$)'
357+ ylab = r 'Velocity (µm s$\mathdefault{ ^{-1} }$)'
358358 if REFERENCE_VELOCITY == 1 :
359359 clab = (
360- f 'Power (dB rel. { REFERENCE_VELOCITY :g} [m s$^{{-1}}$]$^2 $ Hz$^{{-1}}$)'
360+ rf 'Power (dB rel. { REFERENCE_VELOCITY :g} [m s$\mathdefault{{ ^{{-1}}}} $]$\mathdefault{{^2}} $ Hz$\mathdefault{{ ^{{-1}} }}$)'
361361 )
362362 else :
363363 clab = (
364- f 'Power (dB rel. [{ REFERENCE_VELOCITY :g} m s$^{{-1}}$]$^2 $ Hz$^{{-1}}$)'
364+ rf 'Power (dB rel. [{ REFERENCE_VELOCITY :g} m s$\mathdefault{{ ^{{-1}}}} $]$\mathdefault{{^2}} $ Hz$\mathdefault{{ ^{{-1}} }}$)'
365365 )
366366 ref_val = REFERENCE_VELOCITY
367367
You can’t perform that action at this time.
0 commit comments