plotly
3 Topicsr HTML visual widget - Plotly elements have suddenly stopped working across multiple visuals
I have created several custom r HTML visuals that use the Plotly library to output an html file, as per this tutorial from Microsoft: Build a funnel plot from R script to R visual - Power BI | Microsoft Learn At 4pm GMT 2023-06-20, all of these visuals were working fine in PowerBI Desktop (July 2022 and May 2023 versions across two machines), as well as in multiple reports published to the PowerBI service. However, at 9am GMT today (2023-06-21), all r HTML plotly visuals just display a blank output on all of the platforms mentioned above. Within one of the visuals, I have created an option to instead display the output as a HTML datatable using the R DT library. This output still displays correctly, so all of the underlying R calculations seem to be working, as well as the ability to output an HTML visual - just not one that is using Plotly. Is anyone else experiencing this, or is anyone aware of any changes that may have suddenly caused this to occur? The visuals have been created using pbiviz v4.0.5 due to known issues with later versions of the rhtml template. Re: Issue with R plotly in pbiviz versions 4.0.6+ - Microsoft Fabric Community679Views0likes1Comment[help] sankey image can't be displayed in poweBI
Hi team, I have below script. import pandas as pd import chart_studio.plotly as py import plotly.graph_objects as go labelListTemp1 = list(set(dataset.source.values)) labelListTemp2 = list(set(dataset.target.values)) labelList = labelListTemp1 + labelListTemp2 sankey_node = list(dict.fromkeys(labelList)) fig = go.Figure(data=[go.Sankey( node = dict( pad=15, thickness=20, line = dict(color = "black", width = 0.5), label = labelList, color = "blue" ), link = dict(source = dataset.source.apply(lambda x: labelList.index(x)), target = dataset.target.apply(lambda x: labelList.index(x)), value = dataset.value))]) fig.show() And I run it in powerBI with enabling python script. but the result is that the code opened a browser and displayed the sankey in browser, instead of in powerBI. 1. the code opened a browser and displayed the sankey in browser. 2. I would like the sankey chart displayed in powerBI, but powerBI says that 'the visual can't be displayed'. Is there anyone that succesfully created sankey chart by python plotly lib? can any expert help take a look what's wrong here? Thanks, Cherie841Views0likes0CommentsPlans to support plotly (Python package)?
Hi there, In the Python library, plotty, I do und some lovely looking box plots where I'm able to display the underlaying data (see here). I got REALLY excited as this is exactly what I need in my powerbi report. Buuuuut unfortunately according to this Microsoft doc , the plotty library is still not supported. Question 1: does anyone know if plotly is on the Microsoft radar to support? Question 2: Anyone had experience with another Python package that could give me a similar picture as the below? (Or even R).