Skip to content

Commit

Permalink
Check the availability of Arial font (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
longtsing authored Sep 9, 2023
1 parent faef9e2 commit 794a375
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cinrad/visualize/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import matplotlib

matplotlib.rc("font", family="Arial")
if 'Arial' in matplotlib.rc_params()['font.sans-serif']:
matplotlib.rc("font", family="Arial")
from cinrad.visualize.ppi import *
from cinrad.visualize.rhi import *

0 comments on commit 794a375

Please sign in to comment.