Skip to content

Commit

Permalink
deploy: 5b700fc
Browse files Browse the repository at this point in the history
  • Loading branch information
chengjun committed Jan 13, 2022
1 parent f9477d6 commit 406d7ac
Show file tree
Hide file tree
Showing 134 changed files with 7,528 additions and 1,798 deletions.
99 changes: 81 additions & 18 deletions 0-jupyter-notebook.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 defer="defer" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
Expand Down Expand Up @@ -721,7 +721,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>

Expand Down Expand Up @@ -777,7 +777,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
Expand Down Expand Up @@ -839,7 +839,72 @@ <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>Jupyter Notebook</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="#copy-and-paste-images">
Copy and Paste images
</a>
</li>
<li class="toc-h2 nav-item toc-entry">
<a class="reference internal nav-link" href="#set-the-layout-of-figures">
Set the layout of figures
</a>
</li>
<li class="toc-h2 nav-item toc-entry">
<a class="reference internal nav-link" href="#publish-on-github-pages">
Publish on Github Pages
</a>
</li>
<li class="toc-h2 nav-item toc-entry">
<a class="reference internal nav-link" href="#workflow">
Workflow
</a>
</li>
<li class="toc-h2 nav-item toc-entry">
<a class="reference internal nav-link" href="#id1">
引用
</a>
<ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link" href="#id2">
搜狗输入法表情和符号
</a>
</li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry">
<a class="reference internal nav-link" href="#c">
运行C代码
</a>
</li>
<li class="toc-h2 nav-item toc-entry">
<a class="reference internal nav-link" href="#jupyter">
Jupyter 魔术命令
</a>
</li>
<li class="toc-h2 nav-item toc-entry">
<a class="reference internal nav-link" href="#references">
References
</a>
</li>
</ul>

</nav>
</div>
</div>
</div>

<div>

<div class="tex2jax_ignore mathjax_ignore section" id="jupyter-notebook">
Expand Down Expand Up @@ -975,8 +1040,8 @@ <h2>Workflow<a class="headerlink" href="#workflow" title="Permalink to this head
</div>
</div>
<p><span class="math notranslate nohighlight">\(E = MC^2\)</span></p>
<div class="amsmath math notranslate nohighlight" id="equation-c51b142e-7fc8-44ed-8d4e-ba27dadf1eb7">
<span class="eqno">(1)<a class="headerlink" href="#equation-c51b142e-7fc8-44ed-8d4e-ba27dadf1eb7" title="Permalink to this equation"></a></span>\[\begin{align}
<div class="amsmath math notranslate nohighlight" id="equation-de56c5b2-984b-4084-86ad-c8c37e84b218">
<span class="eqno">(1)<a class="headerlink" href="#equation-de56c5b2-984b-4084-86ad-c8c37e84b218" title="Permalink to this equation"></a></span>\[\begin{align}
\dot{x} &amp; = \sigma(y-x) \\
\dot{y} &amp; = \rho x - y - xz \\
\dot{z} &amp; = -\beta z + xy
Expand Down Expand Up @@ -1180,8 +1245,8 @@ <h2>References<a class="headerlink" href="#references" title="Permalink to this

</div>


<!-- Previous / next buttons -->
<!-- Previous / next buttons -->
<div class='prev-next-area'>
<a class='left-prev' id="prev-link" href="03-python-intro.html" title="previous page">
<i class="fas fa-angle-left"></i>
Expand All @@ -1198,19 +1263,17 @@ <h2>References<a class="headerlink" href="#references" title="Permalink to this
<i class="fas fa-angle-right"></i>
</a>
</div>

</div>
</div>
<footer class="footer">
<div class="container">
<p>

By Cheng-Jun Wang<br/>

&copy; Copyright 2021.<br/>
</p>
</div>
</footer>
<p>

By Cheng-Jun Wang<br/>

&copy; Copyright 2021.<br/>
</p>
</footer>
</main>


Expand Down
78 changes: 62 additions & 16 deletions 0-matplotlib-chinese.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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">
Expand Down Expand Up @@ -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>
Expand All @@ -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/>

&copy; Copyright 2021.<br/>
</p>
</div>
</footer>
<p>

By Cheng-Jun Wang<br/>

&copy; Copyright 2021.<br/>
</p>
</footer>
</main>


Expand Down
Loading

0 comments on commit 406d7ac

Please sign in to comment.