Skip to content

Commit

Permalink
plot return dict for coord time plots
Browse files Browse the repository at this point in the history
  • Loading branch information
carleyjmartin committed Nov 23, 2023
1 parent 98d81b4 commit 4db88b3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pydarn/plotting/rtp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1882,7 +1882,16 @@ def plot_coord_time(cls, dmap_data: List[dict], parameter: str = 'v',
cb = colorbar
if colorbar_label != '':
cb.set_label(colorbar_label)
return im, cb, cmap, x, y, z_data
return {'ax': ax,
'ccrs': None,
'cm': cmap,
'cb': cb,
'fig': plt.gcf(),
'data': {'plot_data': im,
'x': x,
'y': y,
'z': z_data}
}


# TODO: if used in other plotting methods then this should moved to
Expand Down

0 comments on commit 4db88b3

Please sign in to comment.