I'm using the Python visual tool for Power BI and I would like to create a plotly graph, like in this video I'm able to create plots with seaborn and matplotlib, but when I try plotly it gives the error: But it works because it opens the graph in a html window, outside Power BI. What Am I doing wrong? This is the code used in Power BI Python visual: import pandas as pd import plotly.graph_objects as go # Import go for graph_objects # Create a scatter plot figure fig = go.Figure() # Add scatter trace fig.add_trace( go.Scatter( x=dataset['I_B'], y=dataset['I_C'], mode='markers', marker=dict(size=8, color='blue', opacity=0.7) ) ) # Customize the layout fig.update_layout( title="Scatter Plot of I_B vs. I_C", xaxis_title="I_B", yaxis_title="I_C", width=800, height=500, template="plotly_white" ) # Show the figure inline fig.show() Continue reading...