Skip to content

Commit 7909b1d

Browse files
committed
Merge pull request #237 from xie-dongping/master
Change the fonts in plots to Droid Sans Fallback
2 parents e0fefda + 57b74a0 commit 7909b1d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

text/source/_sphinxext/xogeny/plot_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
# for label in legend.get_lines():
2222
# label.set_linewidth(1.5) # the legend line width
2323
# plt.show()
24+
from matplotlib import rcParams
25+
rcParams['font.family'] = 'Droid Sans Fallback'
2426

2527
def render_twoup_plot(name, spec1, spec2):
2628
pass

0 commit comments

Comments
 (0)