Skip to content

Commit

Permalink
data_plot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Candy committed Feb 21, 2024
1 parent 75b9d87 commit 03dc594
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions f2py/pygacode/cgyro/data_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ def plot_xflux(self,xin):
nscale = xin['nscale']
ymin = xin['ymin']
ymax = xin['ymax']
mirror = xin['abs'])
mirror = xin['abs']

if xin['fig'] is None:
fig = plt.figure(MYDIR,figsize=(xin['lx'],xin['ly']))
Expand Down Expand Up @@ -1059,8 +1059,7 @@ def plot_xflux(self,xin):
ax.set_title(r'$\mathrm{'+ntag+'} \quad $'+mwin)

na = 128

a = np.linspace(-np.pi,np.pi,na)
a = np.linspace(-np.pi,np.pi,na)
ah = np.linspace(0,-2*np.pi,na)

for ispec in range(ns):
Expand Down

0 comments on commit 03dc594

Please sign in to comment.