Skip to content

Commit

Permalink
[unpleasant] Fix translation error (#85)
Browse files Browse the repository at this point in the history
* [unpleasant] Translation

* Fix code issue

* Fix code issues

* Fix translation error

---------

Co-authored-by: Matt McKay <mmcky@users.noreply.github.com>
  • Loading branch information
SylviaZhaooo and mmcky authored Oct 8, 2024
1 parent 9319025 commit 0636575
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lectures/unpleasant.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ $$
import numpy as np
import matplotlib.pyplot as plt
from collections import namedtuple
import matplotlib as mpl
FONTPATH = "fonts/SourceHanSerifSC-SemiBold.otf"
mpl.font_manager.fontManager.addfont(FONTPATH)
plt.rcParams['font.family'] = ['Source Han Serif SC']
```
现在让我们开始实现我们的伪代码用 Python。
Expand Down

0 comments on commit 0636575

Please sign in to comment.