Commit 32241ace authored by Carl Schaffer's avatar Carl Schaffer
Browse files

Merge branch 'wcsaxes_fix' into 'master'

fixing wcsaxes issue with sunpy 3.1

See merge request !216
parents bb8c53d7 31125a67
......@@ -121,8 +121,9 @@ def make_loc_plot(coords, date, uncertainties=None, use_hmi_cache=True):
raise ValueError('Invalid input shape! Use (2,), or (2,2)/(4,2) (Point,X/Y)')
hmi_map = get_continuum_map(date, use_hmi_cache)
figure, axes = plt.subplots()
hmi_map._default_heliographic_longitude = 0
figure = plt.figure()
axes = figure.add_subplot(1, 1, 1, projection=hmi_map.wcs)
# Convert position from m in arcsec
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment