teaching:progappchim:matplotlib_simple

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
teaching:progappchim:matplotlib_simple [2018/02/25 23:55] – [Références] villersdteaching:progappchim:matplotlib_simple [2018/03/03 10:12] – [Exemples] villersd
Ligne 159: Ligne 159:
 | {{:teaching:progappchim:ph_topographic-01.png?280|}} \\ [[teaching:progappchim:ph-3d|Ph à 3D]] \\ (dilution et neutralisation)| un autre... | un autre... | | {{:teaching:progappchim:ph_topographic-01.png?280|}} \\ [[teaching:progappchim:ph-3d|Ph à 3D]] \\ (dilution et neutralisation)| un autre... | un autre... |
 | un autre... | un autre... | un autre... | | un autre... | un autre... | un autre... |
 +
 +===== Utilisation "inline" ou en fenêtre interactive, sous Spyder =====
 +Notamment avec l'éditeur Spyder, il est possible de choisir le mode d'affichage des graphes :
 +  * dans une fenêtre interactive
 +  * en ligne (mode "inline") sous forme d'une image au format .png, dans la console
 +Pour choisir le mode, utiliser les réglages suivants de Spyder : menu Outils - option Préférences - rubrique Console Ipython - onglet Graphiques - la sortie "Automatique" permet d'obtenir les graphes dans une fenêtre interactive, sinon, choisir "En ligne". L'option sera prise en compte après avoir quitté Spyder et l'avoir relancé. Sinon, il est possible de sélectionner l'un ou l'autre des modes par les commandes suivantes dans la console :
 +<code>
 +%matplotlib auto
 +%matplotlib inline
 +</code>
  
 ===== Références ===== ===== Références =====
Ligne 181: Ligne 191:
     * [[https://python-graph-gallery.com/|the Python Graph Gallery]], galerie de graphes Seaborn/Matplotlib avec code     * [[https://python-graph-gallery.com/|the Python Graph Gallery]], galerie de graphes Seaborn/Matplotlib avec code
  
 +==== Exemples ==== 
 +  * [[https://towardsdatascience.com/5-quick-and-easy-data-visualizations-in-python-with-code-a2284bae952f|5 Quick and Easy Data Visualizations in Python with Code]] 
 +  * Jupyter notebooks :  
 +    * [[http://nbviewer.jupyter.org/github/jming/cs109/blob/master/lec_03_statistical_graphs.ipynb|A Gallery of Statistical Graphs in Matplotlib]] 
 +    * [[http://nbviewer.jupyter.org/url/jakevdp.github.com/downloads/notebooks/XKCD_plots.ipynb|XKCD plots in Matplotlib]] + [[http://nbviewer.jupyter.org/url/jakevdp.github.io/downloads/notebooks/XKCD_sketch_path.ipynb|ceci]]
  • teaching/progappchim/matplotlib_simple.txt
  • Dernière modification : 2023/07/11 07:46
  • de villersd