
Lecture Description
In this Matplotlib tutorial, we're going to be talking about styles. With Matplotlib, we have styles which serve a very similar purpose to Matplotlib graphs as CSS (cascading style sheet) pages serve for HTML. As you can see up to this point, all of these changes we're making to our graphs start to add up, and we only have one axis so far! We could use for loops to at least keep the amount of code down, but we can also make use of these styles with Matplotlib.
The idea of a style page is to write your customization to a style file, and then, to use those changes and apply them to your graph, all you do is import style and then use that specific style. This way, let's say you are finding yourself always changing various elements of your graphs. Instead of having to write 25-200 lines of customization code per chart, you can just write it once to a style, and then load in that style and apply all of those changes in two lines! Let's get started.
sample code: pythonprogramming.net
hkinsley.com
twitter.com/sentdex
sentdex.com
seaofbtc.com
Course Index
- Introduction and Line
- Legends titles and labels
- bar charts and histograms
- Scatter Plots
- stack plots
- Pie Charts
- loading data from files
- getting data from the internet
- converting data from the internet
- basic customizations, rotating labels
- handling unix time
- more customization of colors and fills
- spines and horizontal lines
- candlestick OHLC graphs
- styles
- Live graphs
- annotations and placing text
- annotating last price to edge of matplotlib graph example
- subplots
- implementing subplots to our stock chart
- adding more indicator data to our charts
- cleaning chart, custom fills, pruning
- sharex axis
- multi y axis plotting volume on stock chart
- customizing Matplotlib Legends
- Basemap intro
- Basemap customization options
- plotting coordinates on a map with Basemap
- matplotlib 3d intro
- 3d scatter plot
- 3d bar charts
- conclusion
Course Description
Learn how to visualize data in the form of line graphs, bar charts, pie charts, 3D graphs, and more with Python 3 and Matplotlib.