-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
134 changed files
with
7,528 additions
and
1,798 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ | |
<script src="_static/copybutton.js"></script> | ||
<script async="async" kind="hypothesis" src="https://hypothes.is/embed.js"></script> | ||
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown, .tag_hide_input div.cell_input, .tag_hide-input div.cell_input, .tag_hide_output div.cell_output, .tag_hide-output div.cell_output, .tag_hide_cell.cell, .tag_hide-cell.cell';</script> | ||
<script src="_static/sphinx-book-theme.12a9622fbb08dcb3a2a40b2c02b83a57.js"></script> | ||
<script src="_static/sphinx-book-theme.d59cb220de22ca1c485ebbdc042f0030.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script> | ||
<script src="https://unpkg.com/@jupyter-widgets/html-manager@^0.20.0/dist/embed-amd.js"></script> | ||
<script async="async" src="https://unpkg.com/[email protected]/lib/index.js"></script> | ||
|
@@ -719,7 +719,7 @@ <h1 class="site-logo" id="site-title">计算传播学</h1> | |
data-placement="left">.ipynb</button></a> | ||
<!-- Download PDF via print --> | ||
<button type="button" id="download-print" class="btn btn-secondary topbarbtn" title="Print to PDF" | ||
onClick="window.print()" data-toggle="tooltip" data-placement="left">.pdf</button> | ||
onclick="printPdf(this)" data-toggle="tooltip" data-placement="left">.pdf</button> | ||
</div> | ||
</div> | ||
|
||
|
@@ -775,7 +775,7 @@ <h1 class="site-logo" id="site-title">计算传播学</h1> | |
</div> | ||
|
||
<!-- Table of contents --> | ||
<div class="d-none d-md-block col-md-2 bd-toc show"> | ||
<div class="d-none d-md-block col-md-2 bd-toc show noprint"> | ||
|
||
<div class="tocsection onthispage pt-5 pb-3"> | ||
<i class="fas fa-list"></i> Contents | ||
|
@@ -820,7 +820,55 @@ <h1 class="site-logo" id="site-title">计算传播学</h1> | |
</div> | ||
<div id="main-content" class="row"> | ||
<div class="col-12 col-md-9 pl-md-3 pr-md-0"> | ||
|
||
<!-- Table of contents that is only displayed when printing the page --> | ||
<div id="jb-print-docs-body" class="onlyprint"> | ||
<h1>解决Matplotlib绘图显示中文问题</h1> | ||
<!-- Table of contents --> | ||
<div id="print-main-content"> | ||
<div id="jb-print-toc"> | ||
|
||
<div> | ||
<h2> Contents </h2> | ||
</div> | ||
<nav aria-label="Page"> | ||
<ul class="visible nav section-nav flex-column"> | ||
<li class="toc-h2 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#id1"> | ||
1. 下载微软雅黑字体 | ||
</a> | ||
</li> | ||
<li class="toc-h2 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#id2"> | ||
2. 找到字体文件夹 | ||
</a> | ||
</li> | ||
<li class="toc-h2 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#ttf"> | ||
3. 将字体文件放到ttf目录 | ||
</a> | ||
</li> | ||
<li class="toc-h2 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#matplotlibrc"> | ||
4. 修改matplotlibrc文件 | ||
</a> | ||
</li> | ||
<li class="toc-h2 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#id3"> | ||
5. 删除缓存 | ||
</a> | ||
</li> | ||
<li class="toc-h2 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#jupyter-notebook"> | ||
6. 重启Jupyter Notebook | ||
</a> | ||
</li> | ||
</ul> | ||
|
||
</nav> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div> | ||
|
||
<div class="tex2jax_ignore mathjax_ignore section" id="matplotlib"> | ||
|
@@ -961,8 +1009,8 @@ <h2>6. 重启Jupyter Notebook<a class="headerlink" href="#jupyter-notebook" titl | |
|
||
</div> | ||
|
||
|
||
<!-- Previous / next buttons --> | ||
<!-- Previous / next buttons --> | ||
<div class='prev-next-area'> | ||
<a class='left-prev' id="prev-link" href="0-turicreate.html" title="previous page"> | ||
<i class="fas fa-angle-left"></i> | ||
|
@@ -979,19 +1027,17 @@ <h2>6. 重启Jupyter Notebook<a class="headerlink" href="#jupyter-notebook" titl | |
<i class="fas fa-angle-right"></i> | ||
</a> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
<footer class="footer"> | ||
<div class="container"> | ||
<p> | ||
|
||
By Cheng-Jun Wang<br/> | ||
|
||
© Copyright 2021.<br/> | ||
</p> | ||
</div> | ||
</footer> | ||
<p> | ||
|
||
By Cheng-Jun Wang<br/> | ||
|
||
© Copyright 2021.<br/> | ||
</p> | ||
</footer> | ||
</main> | ||
|
||
|
||
|
Oops, something went wrong.