---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-24-941df5202743> in <module>
1 cr.tl.lineages(adata)
----> 2 cr.pl.lineages(adata, cluster_key='clusters')
~/Projects/cellrank/cellrank/plotting/_utils.py in lineages(adata, lineages, final, cluster_key, mode, time_key, color_map, **kwargs)
91 time_key=time_key,
92 color_map=color_map,
---> 93 **kwargs,
94 )
95
~/Projects/cellrank/cellrank/tools/_markov_chain.py in plot_lin_probs(self, cluster_key, mode, time_key, color_map, **kwargs)
899 if mode == "embedding":
900 scv.pl.scatter(
--> 901 self._adata, color=color, title=titles, color_map=color_map, **kwargs
902 )
903 elif mode == "time":
~/Projects/scvelo/scvelo/plotting/scatter.py in scatter(adata, x, y, basis, vkey, color, use_raw, layer, color_map, colorbar, palette, size, alpha, linewidth, linecolor, perc, groups, sort_order, components, projection, legend_loc, legend_fontsize, legend_fontweight, xlabel, ylabel, title, fontsize, figsize, xlim, ylim, show_density, show_assignments, show_linear_fit, show_polyfit, rug, add_outline, add_text, add_text_pos, outline_width, outline_color, n_convolve, smooth, rescale_color, dpi, frameon, zorder, ncols, wspace, hspace, show, save, ax, **kwargs)
100 for key in mkeys: # multi_kwargs[key] = key[i] if is multikey (list with more than 1 element) else key
101 multi_kwargs[key] = eval('{0}[i * (len({0}) > i)] if is_list({0}) else {0}'.format(key))
--> 102 ax.append(scatter(adata, ax=pl.subplot(gs), **multi_kwargs, **scatter_kwargs, **kwargs))
103
104 savefig_or_show(dpi=dpi, save=save, show=show)
~/Projects/scvelo/scvelo/plotting/scatter.py in scatter(adata, x, y, basis, vkey, color, use_raw, layer, color_map, colorbar, palette, size, alpha, linewidth, linecolor, perc, groups, sort_order, components, projection, legend_loc, legend_fontsize, legend_fontweight, xlabel, ylabel, title, fontsize, figsize, xlim, ylim, show_density, show_assignments, show_linear_fit, show_polyfit, rug, add_outline, add_text, add_text_pos, outline_width, outline_color, n_convolve, smooth, rescale_color, dpi, frameon, zorder, ncols, wspace, hspace, show, save, ax, **kwargs)
312 logg.warn('Invalid color key. Using grey instead.')
313
--> 314 smp = ax.scatter(x, y, c=c, alpha=alpha, marker='.', zorder=zorder, **kwargs)
315
316 if add_outline:
~/miniconda3/envs/cellrank/lib/python3.6/site-packages/matplotlib/__init__.py in inner(ax, data, *args, **kwargs)
1597 def inner(ax, *args, data=None, **kwargs):
1598 if data is None:
-> 1599 return func(ax, *map(sanitize_sequence, args), **kwargs)
1600
1601 bound = new_sig.bind(ax, *args, **kwargs)
~/miniconda3/envs/cellrank/lib/python3.6/site-packages/matplotlib/axes/_axes.py in scatter(self, x, y, s, c, marker, cmap, norm, vmin, vmax, alpha, linewidths, verts, edgecolors, plotnonfinite, **kwargs)
4498 )
4499 collection.set_transform(mtransforms.IdentityTransform())
-> 4500 collection.update(kwargs)
4501
4502 if colors is None:
~/miniconda3/envs/cellrank/lib/python3.6/site-packages/matplotlib/artist.py in update(self, props)
972
973 with cbook._setattr_cm(self, eventson=False):
--> 974 ret = [_update_property(self, k, v) for k, v in props.items()]
975
976 if len(ret):
~/miniconda3/envs/cellrank/lib/python3.6/site-packages/matplotlib/artist.py in <listcomp>(.0)
972
973 with cbook._setattr_cm(self, eventson=False):
--> 974 ret = [_update_property(self, k, v) for k, v in props.items()]
975
976 if len(ret):
~/miniconda3/envs/cellrank/lib/python3.6/site-packages/matplotlib/artist.py in _update_property(self, k, v)
968 if not callable(func):
969 raise AttributeError('{!r} object has no property {!r}'
--> 970 .format(type(self).__name__, k))
971 return func(v)
972
AttributeError: 'PathCollection' object has no property 'lineages'