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:

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

If someone can help me out would be awesome!

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

Ah, found it.


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