forked from AliatTidiany/upgraded-journey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
second_article.qmd
executable file
·48 lines (41 loc) · 922 Bytes
/
second_article.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
title: |
![](./img/Logo.png){width=2in}
"Introduction to Python modules."
date: April, 2022
lang: en-EN
urlcolor: blue
geometry: "left=2.5cm,right=2.5cm,top=3cm,bottom=3cm"
documentclass: article
fontfamily: Alegreya
author: Patrick Nsukami
abstract: Summary of this document
thanks: Acknowledgments footnote after the document title.
code-line-numbers: true
latex-output-dir: output
output-file: foo2.pdf
header-includes: |
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\rhead{Dakar Institute of Technology}
\lhead{Patrick Nsukami}
\rfoot{Page \thepage}
---
```{python}
#| label: fig-polar
#| fig-cap: "a line plot"
import numpy as np
import matplotlib.pyplot as plt
r = np.arange(0, 2, 0.01)
theta = 2 * np.pi * r
fix, ax = plt.subplots(
subplot_kw = {'projection': "polar"}
)
ax.plot(theta, r)
ax.set_rticks([0.5, 1, 1.5, 2])
ax.grid(True)
plt.show()
```
\newpage
# foo