Skip to content

Instantly share code, notes, and snippets.

View tuelwer's full-sized avatar
🚀

Tobias Uelwer tuelwer

🚀
View GitHub Profile
@tuelwer
tuelwer / plot_bars.py
Created December 18, 2020 07:30 — forked from 99991/plot_bars.py
Plot bar chart with multiple groups of bars with matplotlib pyplot
import numpy as np
import matplotlib.pyplot as plt
import matplotlib
# ugly hack to embed fonts
matplotlib.rc("pdf", fonttype=42)
edgecolor = "black"
bar_scale = 0.8