Introduction
Dans la visualisation de données, il est parfois utile de tracer des barre d'erreur pour montrer l'incertitude ou la variabilité des données. Cependant, si il y a de nombreux points de données avec des erreurs similaires, le tracé peut devenir encombré et difficile à interpréter. Dans de tels cas, on peut utiliser le sous-échantillonnage des barre d'erreur, qui nous permet de tracer des barre d'erreur uniquement sur un sous-ensemble de points de données. Dans ce tutoriel, on utilisera la fonction errorbar
de Matplotlib pour démontrer comment appliquer le sous-échantillonnage des barre d'erreur à nos données.
Conseils sur la VM
Une fois le démarrage de la VM terminé, cliquez dans le coin supérieur gauche pour basculer vers l'onglet Notebook pour accéder à Jupyter Notebook pour la pratique.
Parfois, vous devrez peut-être attendre quelques secondes pour que Jupyter Notebook ait fini de charger. La validation des opérations ne peut pas être automatisée en raison des limites de Jupyter Notebook.
Si vous rencontrez des problèmes pendant l'apprentissage, n'hésitez pas à demander à Labby. Donnez des commentaires après la session, et nous réglerons rapidement le problème pour vous.
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
matplotlib(("Matplotlib")) -.-> matplotlib/BasicConceptsGroup(["Basic Concepts"])
matplotlib(("Matplotlib")) -.-> matplotlib/PlotCustomizationGroup(["Plot Customization"])
python(("Python")) -.-> python/ModulesandPackagesGroup(["Modules and Packages"])
python(("Python")) -.-> python/BasicConceptsGroup(["Basic Concepts"])
matplotlib(("Matplotlib")) -.-> matplotlib/PlottingDataGroup(["Plotting Data"])
python(("Python")) -.-> python/DataStructuresGroup(["Data Structures"])
python(("Python")) -.-> python/DataScienceandMachineLearningGroup(["Data Science and Machine Learning"])
matplotlib/BasicConceptsGroup -.-> matplotlib/importing_matplotlib("Importing Matplotlib")
matplotlib/BasicConceptsGroup -.-> matplotlib/figures_axes("Understanding Figures and Axes")
python/BasicConceptsGroup -.-> python/comments("Comments")
matplotlib/PlottingDataGroup -.-> matplotlib/error_bars("Error Bars")
python/DataStructuresGroup -.-> python/tuples("Tuples")
matplotlib/PlotCustomizationGroup -.-> matplotlib/legend_config("Legend Configuration")
python/ModulesandPackagesGroup -.-> python/importing_modules("Importing Modules")
python/DataScienceandMachineLearningGroup -.-> python/numerical_computing("Numerical Computing")
python/DataScienceandMachineLearningGroup -.-> python/data_visualization("Data Visualization")
subgraph Lab Skills
matplotlib/importing_matplotlib -.-> lab-48715{{"Sous-échantillonnage des barre d'erreur avec Matplotlib"}}
matplotlib/figures_axes -.-> lab-48715{{"Sous-échantillonnage des barre d'erreur avec Matplotlib"}}
python/comments -.-> lab-48715{{"Sous-échantillonnage des barre d'erreur avec Matplotlib"}}
matplotlib/error_bars -.-> lab-48715{{"Sous-échantillonnage des barre d'erreur avec Matplotlib"}}
python/tuples -.-> lab-48715{{"Sous-échantillonnage des barre d'erreur avec Matplotlib"}}
matplotlib/legend_config -.-> lab-48715{{"Sous-échantillonnage des barre d'erreur avec Matplotlib"}}
python/importing_modules -.-> lab-48715{{"Sous-échantillonnage des barre d'erreur avec Matplotlib"}}
python/numerical_computing -.-> lab-48715{{"Sous-échantillonnage des barre d'erreur avec Matplotlib"}}
python/data_visualization -.-> lab-48715{{"Sous-échantillonnage des barre d'erreur avec Matplotlib"}}
end