How to Solve NameError: name 'make_subplots' is not defined -- plotly

Solution: Import the 'make_subplots' module

To Solve the error, add the following line to the top of your code.

from plotly.subplots import make_subplots

 

For more information:
Python plotly make_subplots