Matplotlib specific marker (rotation symbol)

I am wondering what the name of this marker is (I could not find it yet):

enter image description here

And if there is an opposite (the arrow is turned clockwise)

From this example .

Thank.

+4
source share
1 answer

It uses latex (or rather, matplotlib built-in "mathtex") to build $\circlearrowleft$. In the opposite direction there will be `$ \ circlearrowright $ '.

As a quick example:

import matplotlib.pyplot as plt
import numpy as np

fig, ax = plt.subplots()

ax.scatter(*np.random.random((2, 5)), s=200, marker=r'$\circlearrowleft$')
ax.scatter(*np.random.random((2, 5)), s=200, marker=r'$\circlearrowright$')

plt.show()

enter image description here

+4
source

All Articles