In matplotlib, you can input a M x 2 array of vertices that specify a path as the marker argument for a scatter plot.
This small streamlit app allows you to handdraw markers yourself and save the vertices for use as scatter markers.
starting the app:
streamlit run app.py
- Load them
path = np.loadtxt(f'{filename}.gz')
# They are stored in /saved_paths
- Plot
scatter = ax.scatter(x, y, marker=path)
- Enjoy your own markers!