@@ -437,7 +437,6 @@ def plot(self, ax=None, show=False, log=True, extent=None, set_global=False, plo
437437 axes: matplotlib.Axes.axes
438438 """
439439 # no mutable function arguments
440- dh = round (self .region .dh , 5 )
441440 if self .start_time is None or self .end_time is None :
442441 time = 'forecast period'
443442 else :
@@ -451,12 +450,12 @@ def plot(self, ax=None, show=False, log=True, extent=None, set_global=False, plo
451450
452451 # this call requires internet connection and basemap
453452 if log :
454- plot_args .setdefault ('clabel' , f'log10 M{ self .min_magnitude } + rate per { str ( dh ) } ° x { str ( dh ) } ° per { time } ' )
453+ plot_args .setdefault ('clabel' , f'log10 M{ self .min_magnitude } + rate per cell per { time } ' )
455454 with numpy .errstate (divide = 'ignore' ):
456455 ax = plot_spatial_dataset (numpy .log10 (self .spatial_counts (cartesian = True )), self .region , ax = ax ,
457456 show = show , extent = extent , set_global = set_global , plot_args = plot_args )
458457 else :
459- plot_args .setdefault ('clabel' , f'M{ self .min_magnitude } + rate per { str ( dh ) } ° x { str ( dh ) } ° per { time } ' )
458+ plot_args .setdefault ('clabel' , f'M{ self .min_magnitude } + rate per cell per { time } ' )
460459 ax = plot_spatial_dataset (self .spatial_counts (cartesian = True ), self .region , ax = ax ,show = show , extent = extent ,
461460 set_global = set_global , plot_args = plot_args )
462461 return ax
0 commit comments