Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Feedback Type:
Frown (Error)
Timestamp:
2021-04-07T17:38:19.8240729Z
Local Time:
2021-04-07T12:38:19.8240729-05:00
Session ID:
c9ac1495-aabc-4477-a07b-ba75b8b6e4f2
Release:
February 2021
Product Version:
2.90.782.0 (21.02) (x64)
Error Message:
Python script error.
File "PythonScriptWrapper.PY", line 94
plt.scatter(df_true[x_label], df_true[y_label], alpha=0.2, label=f'Scatter {logic}')
^
SyntaxError: invalid syntax
Stack Trace:
Microsoft.PowerBI.ExploreServiceCommon.ScriptHandlerException: Python script error.
File "PythonScriptWrapper.PY", line 94
plt.scatter(df_true[x_label], df_true[y_label], alpha=0.2, label=f'Scatter {logic}')
^
SyntaxError: invalid syntax
---> Microsoft.PowerBI.Scripting.Python.Exceptions.PythonScriptRuntimeException: Python script error.
File "PythonScriptWrapper.PY", line 94
plt.scatter(df_true[x_label], df_true[y_label], alpha=0.2, label=f'Scatter {logic}')
^
SyntaxError: invalid syntax
at Microsoft.PowerBI.Scripting.Python.PythonScriptWrapper.RunScript(String originalScript, Int32 timeoutMs)
at Microsoft.PowerBI.Client.Windows.Python.PythonScriptHandler.GenerateVisual(ScriptHandlerOptions options)
--- End of inner exception stack trace ---
at Microsoft.PowerBI.Client.Windows.Python.PythonScriptHandler.GenerateVisual(ScriptHandlerOptions options)
at Microsoft.PowerBI.ExploreServiceCommon.ScriptVisualCommandFlow.RunInternal(Stream dataShapeResultStream, QueryBindingDescriptor& bindingDescriptor)
at Microsoft.PowerBI.ExploreServiceCommon.ScriptVisualCommandFlow.Run(Stream dataShapeResultStream, QueryBindingDescriptor& bindingDescriptor)
at Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.TransformDataShapeResult(QueryCommand transformCommand, SemanticQueryDataShapeCommand command, Stream dataShapeResultStream, QueryBindingDescriptor& bindingDescriptor)
at Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.ExecuteDataQuery(IQueryResultDataWriter queryResultDataWriter, EngineDataModel engineDataModel, DataQuery query, Int32 queryId, ServiceErrorStatusCode& serviceErrorStatusCode, CancellationToken cancelToken)
at
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.