Editing Matplotlib
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[[File:Matplotlib-hist2d.png|right|500px]] | [[File:Matplotlib-hist2d.png|right|500px]] | ||
__NOTOC__ | __NOTOC__ | ||
== Visualizing data with Matplotlib and Wiki-bios == | |||
== Visualizing data with Matplotlib | |||
In this session, we will explore how to produce clear, informative charts, graphs, and plots with [http://matplotlib.org/ Matplotlib], the most popular toolkit for scientific data visualization in Python. | In this session, we will explore how to produce clear, informative charts, graphs, and plots with [http://matplotlib.org/ Matplotlib], the most popular toolkit for scientific data visualization in Python. | ||
We'll start with the data-set created [ | We'll start with the data-set created in [http://wiki.communitydata.cc/Community_Data_Science_Workshops_(Spring_2015)/Day_3_Lecture this morning] containing information about edits to the Harry Potter Wikipedia article. | ||
We will then proceed to visualize different aspects of data from the [http://wiki.communitydata.cc/Community_Data_Science_Workshops_(Spring_2015)/Day_2_Projects/Socrata Socrata web API]. | |||
=== Goals === | === Goals === | ||
Line 33: | Line 20: | ||
* Exercise your creativity by making your own visualization | * Exercise your creativity by making your own visualization | ||
# Download the CDSW Matplotlib code from [[http://mako.cc/teaching/2015/cdsw-autumn/wikibios.zip here]] | |||
# First plot: <tt>001-hello-plot.py</tt> | # First plot: <tt>001-hello-plot.py</tt> | ||
# Subplots: <tt>002-subplots.py</tt> | # Subplots: <tt>002-subplots.py</tt> | ||
=== References === | === References === | ||
Line 61: | Line 43: | ||
[[File:Wikipedia.png|right|250px]] | [[File:Wikipedia.png|right|250px]] | ||