Skip to content

Instantly share code, notes, and snippets.

View siddharthpaliwal's full-sized avatar

Siddharth Paliwal siddharthpaliwal

  • Utrecht, The Netherlands
View GitHub Profile
@siddharthpaliwal
siddharthpaliwal / matplotlib_color_cycler.py
Created October 16, 2019 09:53
Matplotlib color cycler indexing
cycle = plt.rcParams['axes.prop_cycle'].by_key()['color']
import numpy as np
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111)
t = np.arange(5)
for i in range(4):
@siddharthpaliwal
siddharthpaliwal / Calling C++ functions from python
Last active November 6, 2020 21:07
Calling C++ functions from python
Calling C++ functions from python