locan.visualize.render_mpl.render2d.scatter_2d_mpl¶
- locan.visualize.render_mpl.render2d.scatter_2d_mpl(locdata, ax=None, index=True, text_kwargs=None, **kwargs)[source]¶
Scatter plot of locdata elements with text marker for each element.
- Parameters:
locdata (
LocData) – Localization data.ax (
Axes|None) – The axes on which to show the plotindex (
bool) – Flag indicating if element indices are shown.text_kwargs (
dict[str,Any] |None) – Keyword arguments formatplotlib.axes.Axes.text().kwargs (
Any) – Other parameters passed tomatplotlib.axes.Axes.scatter().
- Returns:
Axes object with the image.
- Return type:
matplotlib.axes.Axes