Skip to content

Commit ad9631e

Browse files
committed
update kwargs for matplotlib 3.9.1
1 parent 6a83f17 commit ad9631e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mtpy/imaging/mtplot_tools/plot_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def det_error_bar_properties(self):
350350

351351
@property
352352
def font_dict(self):
353-
return {"size": self.font_size + 2, "weight": self.font_weight}
353+
return {"fontsize": self.font_size + 2, "fontweight": self.font_weight}
354354

355355
def make_pt_cb(self, ax):
356356
cmap = mtcl.cmapdict[self.ellipse_cmap]

mtpy/imaging/plot_mt_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ def plot(self):
611611
# make plot_title and show
612612
if self.plot_title is None:
613613
self.plot_title = self.station
614+
print(self.font_dict)
614615
self.fig.suptitle(self.plot_title, fontdict=self.font_dict)
615616

616617
# be sure to show

0 commit comments

Comments
 (0)