Setting map_info=False when using plot_mapdata() didn't work previously because it would cause parameters (like the number of points and the cross-polar-cap potential) to not be stored into variables, causing the code to break at the return statement. This PR fixes the keyword when set to False by only checking it after those values are stored in variables. I also added map_info to the docstring, because it wasn't there before.
Scope
Setting
map_info=False
when usingplot_mapdata()
didn't work previously because it would cause parameters (like the number of points and the cross-polar-cap potential) to not be stored into variables, causing the code to break at the return statement. This PR fixes the keyword when set to False by only checking it after those values are stored in variables. I also addedmap_info
to the docstring, because it wasn't there before.Approval
1
Test
Gives: