Commit 5343d5a7 authored by Loic Huder's avatar Loic Huder
Browse files

Merge branch 'pages' into 'master'

Pages

See merge request !3
parents 94641abf 0dcbd2a1
Pipeline #26510 passed with stage
in 55 seconds
image: python
stages:
- deploy
......@@ -5,14 +7,17 @@ pages:
stage: deploy
script:
- pip3 install rst2html5 jupyter
- make presentations
- mkdir .public
- cp ipnyb/*.html .public
- cp ipynb/*.html .public
- cp -rt .public ipynb/fig ipynb/reveal.js
- mv .public public
artifacts:
paths:
- .public
- public
only:
- master
- web
- web
\ No newline at end of file
%% Cell type:markdown id: tags:
# Pandas : Python Data Analysis Library
<div><img style="float: left;margin-left : 70px" src='images/pandas_logo.png' height="500" width="500"/>
<div><img style="float: left;margin-left : 70px" src='fig/pandas_logo.png' height="500" width="500"/>
%% Cell type:markdown id: tags:
# Pandas, a Data Analysis Library
......
......@@ -152,11 +152,11 @@
 
%% Cell type:markdown id: tags:
 
## Anatomy of a Matplotlib figure
 
![Anatomy of a figure](images/anatomy.png)
![Anatomy of a figure](fig/anatomy.png)
 
For consistent figure changes, define your own stylesheets that are basically a list of parameters to tune the aspect of the figure elements.
See https://matplotlib.org/tutorials/introductory/customizing.html for more info.
 
%% Cell type:markdown id: tags:
......@@ -38,11 +38,11 @@
%% Cell type:markdown id: tags:
## Object-oriented plots
While doing the job, the previous example does not allow to unveil the power of matplotlib. For that, we need to keep in mind that in matplotlib plots, **everything** is an object.
<img src='images/anatomy.png' alt='https://matplotlib.org/gallery/showcase/anatomy.html' />
<img src='fig/anatomy.png' alt='https://matplotlib.org/gallery/showcase/anatomy.html' />
It is therefore possible to change any aspect of the figure by acting on the appropriate objects.
%% Cell type:markdown id: tags:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment