Black Lives Matter. Please consider donating to Black Girls Code today.

TypeError: 'module' object is not callable in markers - Dash, Plotly, Python

Hi, I’m new working with plotly and dash in python. And I tried to run the code in Jupiter notebook… so far so good until I tried to create a Scatter Plot Chart… Here there is an error that I don’t know why is not working because I’m doing a you tube tutorial step by step… and still it does not work…

This is the error…

youtube tutorial: https://www.youtube.com/watch?v=WZERgVGUoIk&list=PLH6mU1kedUy8fCzkTTJlwsf2EnV_UvOV-&index=8

TypeError Traceback (most recent call last)
in
—> 10 mode = ‘markers’
TypeError: ‘module’ object is not callable

If someone can help me out would be awesome!
Thanks!

when you change : with = it becomes an invalid syntax error

Ah, found it.

go.Scatter

haha! thanks!!! I really appreciate your support!