✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Name error: name x is not defined

when i try to implement the pca from your site i get the following. please suggest me what am doing wrong.

NameError Traceback (most recent call last)
in ()
11 for col in range(4):
12 for key in colors:
—> 13 traces.append(Histogram(x=X[y==key, col],
14 opacity=0.75,
15 xaxis=‘x%s’ %(col+1),

NameError: name ‘X’ is not defined

Would you mind sharing a link to the example your trying to reproducible to help debug?

Thank you.