Phlya / adjustText

A small library for automatically adjustment of text position in matplotlib plots to minimize overlaps.
https://adjusttext.readthedocs.io/
MIT License
1.5k stars 87 forks source link

Fix docstring typos and defaults #150

Closed nvaulin closed 1 year ago

nvaulin commented 1 year ago

In this PR I've fixed some typos and incorrect default values in the adjust_text function docstring within the __init__.py (link to docstring). One of the fixes also covers the #146 issue.

Mostly sure, the default values in docstring were remained from the previous versions. The biggest changes have occurred with the only_move dictionary - the set of possible keys was changed. Thus pay attention - due to this fact I've also deleted the example for only_move in the docstring (there were some other keys).

Phlya commented 1 year ago

Thanks, sorry it took me a while, looks good!