Skip to content

Commit a60719e

Browse files
Make sure central body illumination is correct for reverse_x setting
1 parent be7cee4 commit a60719e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

pyspedas/tplot_tools/MPLPlotter/tplotxy.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,8 @@ def tplotxy(tvars,
302302

303303
theta1, theta2 = -90, 90
304304
if plane=='xy' or plane=='xz':
305-
if reverse_x:
306-
w1 = Wedge((0, 0),cb_radius, theta1, theta2,fc='white', edgecolor='black' )
307-
w2 = Wedge((0, 0), cb_radius, theta2, theta1, fc='black', edgecolor='black')
308-
else:
309-
w1 = Wedge((0, 0),cb_radius, theta1, theta2,fc='black', edgecolor='black' )
310-
w2 = Wedge((0, 0), cb_radius, theta2, theta1, fc='white', edgecolor='black')
305+
w1 = Wedge((0, 0), cb_radius, theta1, theta2, fc='white', edgecolor='black')
306+
w2 = Wedge((0, 0), cb_radius, theta2, theta1, fc='black', edgecolor='black')
311307
axis.add_artist(w1)
312308
axis.add_artist(w2)
313309
else:

0 commit comments

Comments
 (0)