From edd1bbf5beec394625121ac7a2d9843c962da00f Mon Sep 17 00:00:00 2001 From: Florez Ospina Juan Felipe Date: Sun, 7 Apr 2024 16:55:37 +0200 Subject: [PATCH] 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. --- src/hdf5_vis.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hdf5_vis.py b/src/hdf5_vis.py index 036f9bc..b8aeddf 100644 --- a/src/hdf5_vis.py +++ b/src/hdf5_vis.py @@ -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') #