Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Sns Swarmplot In Research

Hi, is it just me or does the notebook not allow sns swarmplots ?
Calling up swarmplot causes a security violation error

Thanks for your time

import numpy as np  
import pandas as pd  
import seaborn as sns  
import matplotlib.pyplot as plt

sns.set()

rnd = np.random.randint(1, 1000, 1000)  
df = pd.DataFrame({"random":rnd, labels”:”labels”}, index=range(len(rnd)))

sns.swarmplot(x=“labels”, y="random", data=df)