mwshinn / CanD

6 stars 3 forks source link

Text cannot be rotated #15

Closed jankaWIS closed 2 years ago

jankaWIS commented 2 years ago

I'm sorry if I missed something but I cannot find it in the docs nor in the c.add_text() help. How can I rotate text? I mean in this way, eg. by adding a rotation keyword. Thanks.

mwshinn commented 2 years ago

You can use the "rotation" keyword! In fact, you can use any keyword supported by matplotlib.text. I just committed c0703f3479c29da8b45d6f7c0a09e411e65aab77 as an update which documents this explicitly.

jankaWIS commented 2 years ago

Maybe it was because of my outdated version, now it works perfectly, thanks!