Skip to content

Instantly share code, notes, and snippets.

@kdubovikov
Created October 8, 2017 13:00
Show Gist options
  • Save kdubovikov/1704ad664a8be85cf9438badb9ec04cf to your computer and use it in GitHub Desktop.
Save kdubovikov/1704ad664a8be85cf9438badb9ec04cf to your computer and use it in GitHub Desktop.
Compare sampling algorithms - plot distributions
import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib inline
fig, ax = plt.subplots(figsize=(12,8),sharey=True)
sns.despine(left=True)
sns.distplot(choice_num, ax=ax)
sns.distplot(fast_num, ax=ax)
ax.set_title("Collision count distributions")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment