ProfessorLeVesseur commited on
Commit
d726fac
·
verified ·
1 Parent(s): 606345e

Update visualization.py

Browse files
Files changed (1) hide show
  1. visualization.py +0 -5
visualization.py CHANGED
@@ -106,11 +106,6 @@ class Visualization:
106
 
107
  return dot
108
 
109
- def download_tree_diagram(self, dot, filename):
110
- # Render the diagram to a file
111
- filepath = dot.render(filename, format='png', cleanup=True)
112
- return filepath
113
-
114
  def download_chart(self, fig, filename):
115
  buffer = io.BytesIO()
116
  fig.savefig(buffer, format='png')
 
106
 
107
  return dot
108
 
 
 
 
 
 
109
  def download_chart(self, fig, filename):
110
  buffer = io.BytesIO()
111
  fig.savefig(buffer, format='png')