Added an import and treemap to png statemets, but for some reason didnot work, and took forever to run. So, I left the lines but for now commented them out.

This commit is contained in:
2024-04-07 16:55:37 +02:00
parent 89e94a1b2b
commit edd1bbf5be

View File

@ -14,6 +14,7 @@ import pandas as pd
from plotly.subplots import make_subplots
import plotly.graph_objects as go
import plotly.express as px
#import plotly.io as pio
def display_group_hierarchy_on_a_treemap(filename: str):
@ -54,6 +55,8 @@ def display_group_hierarchy_on_a_treemap(filename: str):
fig.show()
file_name, file_ext = os.path.splitext(filename)
fig.write_html(file_name + ".html")
#pio.write_image(fig,file_name + ".png",width=800,height=600,format='png')
#