You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse the tutorials and tests for usefull code snippets and examples of use
Reproduced the issue after updating with pip install --upgrade pandapower (or git pull)
Tried basic troubleshooting (if a bug/error) like restarting the interpreter and checking the pythonpath
Reproducible Example
importpandapowerasppimportpandapower.networksaspnfrompandapower.plotting.plotlyimportpf_res_plotly# Create a sample networknet=pn.mv_oberrhein()
pp.runpp(net)
# Plot the resultspf_res_plotly(net, filename='test.html')
Issue Description and Traceback
Description:
I am using pandapower==3.0 and plotly==6.0 to visualize power flow results with pf_res_plotly. However, the colormap legend for line loading does not appear correctly. I have tried different values for cpos_load, but the issue persists. The expected behavior is that the colorbar for line loading should be displayed correctly according to the climits_load range.
Steps to Reproduce:
Run a power flow calculation in a Pandapower network.
Use pf_res_plotly() to visualize the results.
Observe that the line loading colorbar is either missing or incorrectly positioned.
Observed Behavior:
The colorbar does not appear correctly.
Changing cpos_load does not fix the issue.
The bus voltage legend is displayed correctly, but the loading map is missing.
see plot example
Expected Behavior
Expected Behavior:
The colorbar for line loading should be displayed at the correct position as defined by cpos_load.
Installed Versions
I have tested this with pandapower==3.0 and plotly==6.0.
also tested older version of plotly
Label
Relevant labels are selected
The text was updated successfully, but these errors were encountered:
@TheBigFudge plotly seems to have changed there js api and things are breaking. Could you by any chance try an earlier plotly version and check if this also happens?
hey! i have tried it with some plotly 5.X versions, but that didn't help. However, when I switched back to older pandapower version 2.14.x, both colour bars were visible again
I am currently experiencing similar issued, i think the internal conversion Routine does Not Like empty fields. I will probably soon build a Patch and repair this.
Bug report checklis
Read the relevant sections of the documentation
Searched the issues page for similar reports
Browse the tutorials and tests for usefull code snippets and examples of use
Reproduced the issue after updating with
pip install --upgrade pandapower
(orgit pull
)Tried basic troubleshooting (if a bug/error) like restarting the interpreter and checking the pythonpath
Reproducible Example
Issue Description and Traceback
Description:
I am using pandapower==3.0 and plotly==6.0 to visualize power flow results with pf_res_plotly. However, the colormap legend for line loading does not appear correctly. I have tried different values for cpos_load, but the issue persists. The expected behavior is that the colorbar for line loading should be displayed correctly according to the climits_load range.
Steps to Reproduce:
Observed Behavior:
see plot example
Expected Behavior
Expected Behavior:
The colorbar for line loading should be displayed at the correct position as defined by cpos_load.
Installed Versions
I have tested this with pandapower==3.0 and plotly==6.0.
also tested older version of plotly
Label
The text was updated successfully, but these errors were encountered: