cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in python visual

I cannot plot data using python. Seems like a localisation problem, comma is used instead of full stop as a decimal separator in a matplotlib function.

 

Feedback Type:
Frown (Error)

Timestamp:
2018-08-12T13:13:51.4662827Z

Local Time:
2018-08-12T15:13:51.4662827+02:00

Session ID:
1d200296-55c3-43e4-9668-5fa830792c31

Release:
August 2018

Product Version:
2.61.5192.541 (18.08) (x64)

Error Message:
Рŷτђσñ ŝςѓϊрţ єŗŕôг.
File "PythonScriptWrapper.PY", line 6
matplotlib.pyplot.figure(figsize=(6,08333333333333,3,63888888888889))
^
SyntaxError: invalid token


OS Version:
Microsoft Windows NT 10.0.17134.0 (x64 sv-SE)

CLR Version:
4.7 or later [Release Number = 461808]

Peak Virtual Memory:
37.9 GB

Private Memory:
284 MB

Peak Working Set:
432 MB

IE Version:
11.165.17134.0

User ID:
07052a05-5aaa-46fc-8527-45318116ac05

Workbook Package Info:
1* - sv-SE, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True.

Telemetry Enabled:
True

AS Live Connection:
True

Performance Trace Logs:
C:\Users\hesu\AppData\Local\Microsoft\Power BI Desktop\PerformanceTraces.zip

Enabled Preview Features:
PBI_PythonSupportEnabled

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_newFromWeb
PBI_SpanishLinguisticsEnabled
CustomConnectors
PBI_variationUIChange
PBI_canvasTooltips
PBI_showIncrementalRefreshPolicy
PBI_compositeModels
PBI_DB2DQ

Disabled DirectQuery Options:
PBI_DirectQuery_Unrestricted
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

DPI Scale:
100%

Supported Services:
Power BI

Formulas:


section Section1;

Status: New
Comments
Regular Visitor

@htp84

Thanks for the updates.

Regular Visitor
Regular Visitor

Hi @pbertens 

see details in the link below

https://stackoverflow.com/questions/51859000/regional-settings-conflicting-with-matplotlib-for-pytho...

 

Regards

Business Analyst and BI Practitioner

Visitor

Hi! I think this issue was solved in the latest release. Thanks, developers!