Skip to content

Commit

Permalink
drop a few args
Browse files Browse the repository at this point in the history
  • Loading branch information
syedhamidali committed Aug 29, 2024
1 parent 93f9e18 commit 89efaf5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
1 change: 0 additions & 1 deletion pyart/graph/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
from .radardisplay_airborne import AirborneRadarDisplay # noqa
from .radarmapdisplay import RadarMapDisplay # noqa
from .radarmapdisplay_basemap import RadarMapDisplayBasemap # noqa
from . import max_cappi # noqa
from .max_cappi import plot_maxcappi # noqa

__all__ = [s for s in dir() if not s.startswith("_")]
11 changes: 1 addition & 10 deletions pyart/graph/max_cappi.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def plot_maxcappi(
colorbar=True,
range_rings=False,
dpi=100,
show_progress=False,
savedir=None,
show_figure=True,
add_slogan=False,
Expand Down Expand Up @@ -74,8 +73,6 @@ def plot_maxcappi(
Whether to include range rings at 50 km intervals. Default is True.
dpi : int, optional
DPI (dots per inch) for the plot. Default is 100.
show_progress : bool, optional
Whether to print progress messages. Default is False.
savedir : str, optional
Directory where the plot will be saved. If None, the plot is not saved.
show_figure : bool, optional
Expand All @@ -87,6 +84,7 @@ def plot_maxcappi(
-------
None
This function does not return any value. It generates and optionally displays/saves a plot.
Notes
-----
Author : Hamid Ali Syed (@syedhamidali)
Expand Down Expand Up @@ -169,13 +167,6 @@ def plot_range_rings(ax_xy, max_range):

ax_xy.legend(loc="upper right", prop={"weight": "normal", "size": 8})

if show_progress:
print("...................................")
print(
f"Plotting {title}: {ds['time'].dt.strftime('%Y%m%d %H:%M:%S').values.item()}"
)
print("...................................\n")

def _get_projection(ds):
"""
Determine the central latitude and longitude from a dataset
Expand Down

0 comments on commit 89efaf5

Please sign in to comment.