Coverage for python/gsfit/plotting/two_d_setup_plots.py: 0%

10 statements  

« prev     ^ index     » next       coverage.py v7.15.0, created at 2026-07-07 13:12 +0000

1import matplotlib.axes 

2import matplotlib.figure 

3import matplotlib.pyplot as plt 

4 

5 

6def plot() -> tuple[matplotlib.figure.Figure, matplotlib.axes.Axes]: 

7 fig, ax = plt.subplots(figsize=(5, 8)) 

8 ax.set_aspect("equal") 

9 ax.set_xlim(left=0.0, right=None) 

10 ax.set_xlabel("R [m]") 

11 ax.set_ylabel("Z [m]") 

12 return fig, ax