From plotting to chart porn - Creating slick charts with Matplotlib
summary
Recreates ggplot2 aesthetics in Matplotlib by showing concrete code: loads Iris and Boston datasets, uses style.use('ggplot') and a custom ggplot-like style file (font sizes, dotted grids, seven complementary colors), builds large figure and axes objects with plt.subplots to control pixel sizes and layout, flattens axes array to place specific histograms, and maps a third variable to color with colormaps and helper functions to get legend handles; demonstrates a plotted scatter that aims for chart porn quality and works as a reproducible Matplotlib pipeline.
AI-written summary · about
chapters (6)
- 0:00Introduction to chart porn
- 4:22Data preparation
- 5:45Working with styles
- 14:48Figures and axes objects
- 22:01Advanced layout control
- 25:02Color mapping and visualization
related talks
01h 26mTurning DataFrames into Pretty Pictures with Plotnine
34mVisualising Multi Dimensional Data
38mBuilding a maintainable plotting library-PyData NYC
01h 01m50 ways to show your data
59mPlotting with Matplotlib; Telling Static, Animated, & Interactive Stories
18mFrom idea to code to image: Creative data visualizations in R
01h 38mEffective Data Visualization
01h 28mPython Visualization for Exploration of Data
