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 56bfe74 commit fb81129Copy full SHA for fb81129
stagpy/refstate.py
@@ -1,19 +1,20 @@
1
"""Plot reference state profiles."""
2
3
+from __future__ import annotations
4
+
5
import matplotlib.pyplot as plt
6
7
from . import conf, _helpers
8
from .phyvars import REFSTATE
9
from .stagyydata import StagyyData
10
11
-def plot_ref(sdat, var):
12
+def plot_ref(sdat: StagyyData, var: str):
13
"""Plot one reference state.
14
15
Args:
- sdat (:class:`~stagpy.stagyydata.StagyyData`): a StagyyData instance.
- var (str): refstate variable, a key of
16
- :data:`~stagpy.phyvars.REFSTATE`.
+ sdat: a :class:`~stagpy.stagyydata.StagyyData` instance.
17
+ var: refstate variable, a key of :data:`~stagpy.phyvars.REFSTATE`.
18
"""
19
fig, axis = plt.subplots()
20
adbts = sdat.refstate.adiabats
0 commit comments