@@ -284,24 +284,24 @@ def test_single_linkage_tree_plot():
284284 if_matplotlib (clusterer .single_linkage_tree_ .plot )(cmap = 'Reds' )
285285 if_matplotlib (clusterer .single_linkage_tree_ .plot )(vary_line_width = False ,
286286 truncate_mode = 'lastp' ,
287- p = 10 , cmap = 'Reds'
287+ p = 10 , cmap = 'Reds' ,
288288 colorbar = False )
289289
290290def test_min_span_tree_plot ():
291291 clusterer = HDBSCAN (gen_min_span_tree = True ).fit (X )
292- if_matplotlib (clusterer .minimum_spanning_tree_ .plot )(cmap = 'Reds' )
292+ if_matplotlib (clusterer .minimum_spanning_tree_ .plot )(edge_cmap = 'Reds' )
293293
294294 H , y = make_blobs (n_samples = 50 , random_state = 0 , n_features = 10 )
295295 H = StandardScaler ().fit_transform (H )
296296
297297 clusterer = HDBSCAN (gen_min_span_tree = True ).fit (H )
298- if_matplotlib (clusterer .minimum_spanning_tree_ .plot )(cmap = 'Reds' , vary_line_width = False , colorbar = False )
298+ if_matplotlib (clusterer .minimum_spanning_tree_ .plot )(edge_cmap = 'Reds' , vary_line_width = False , colorbar = False )
299299
300300 H , y = make_blobs (n_samples = 50 , random_state = 0 , n_features = 40 )
301301 H = StandardScaler ().fit_transform (H )
302302
303303 clusterer = HDBSCAN (gen_min_span_tree = True ).fit (H )
304- if_matplotlib (clusterer .minimum_spanning_tree_ .plot )(cmap = 'Reds' , vary_line_width = False , colorbar = False )
304+ if_matplotlib (clusterer .minimum_spanning_tree_ .plot )(edge_cmap = 'Reds' , vary_line_width = False , colorbar = False )
305305
306306def test_tree_numpy_output_formats ():
307307
0 commit comments