Skip to content

Commit

Permalink
Update _plot_pressure.py
Browse files Browse the repository at this point in the history
  • Loading branch information
missing-user authored Nov 18, 2024
1 parent 6d2693c commit e406819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utilities/pythontools/py_spec/output/_plot_pressure.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def plot_pressure(self, normalize=True, ax=None, **kwargs):
import matplotlib.pyplot as plt

pressure = np.atleast_1d(self.input.physics.pressure) * self.input.physics.pscale
tflux = self.output.tflux[: len(pressure)]
tflux = np.atleast_1d(self.output.tflux)[: len(pressure)]
if not normalize:
# remove mu_0
pressure /= 4 * np.pi * 1.0e-7
Expand Down

0 comments on commit e406819

Please sign in to comment.