schist icon indicating copy to clipboard operation
schist copied to clipboard

Fix draw_tree

Open dawe opened this issue 2 years ago • 0 comments

There are some issues with draw_tree, that is

  • it doesn't take into account continuous values outside [0, 1] range (could be fixed rescaling data)
  • it raises some warnings due to recent updates in matplotlib
MatplotlibDeprecationWarning: 
The modification of the Axes.artists property was deprecated in Matplotlib 3.5 and will be removed two minor releases later. Use Axes.add_artist instead.
  self.insert(len(self), value)
  • it doesn't plot in notebooks, again due to changes in matplotlib

dawe avatar Jan 26 '23 14:01 dawe