Stacked Bar Charts in Python
Make stacked bar charts with pandas, Matplotlib, Seaborn, plotnine, Altair, and Plotly, including labels and 100% stacked bars.
Make stacked bar charts with pandas, Matplotlib, Seaborn, plotnine, Altair, and Plotly, including labels and 100% stacked bars.
Creating pie charts with labels, percentages, and custom colors in Matplotlib
Set the figure size with figsize in plt.figure() or plt.subplots(), resize an existing figure, and size plots in pixels.
Plot a histogram with plt.hist(), choose the bins, show percentages or density, and compare several groups.
Rotate x and y tick labels in Matplotlib with tick_params, plt.xticks, or plt.setp, and keep them aligned with their ticks.
A short tutorial on creating and customizing violin plots in Seaborn
Create grouped bar charts in Matplotlib with value labels, using ax.bar offsets, ax.grouped_bar, or pandas.
Transforming the default Matplotlib bar chart into a simple, stylish visualization
A brief introduction to the Altair Python visualization library