{"repo":"Phlya/adjustText","free":true,"listed":false,"github":"https://github.com/Phlya/adjustText","clone":"git clone https://github.com/Phlya/adjustText.git","description":"A small library for automatical adjustment of text position in matplotlib plots to minimize overlaps.","language":"Jupyter Notebook","stars":1660,"topics":["graph","matplotlib","plot","plotting","text","python"],"license":"MIT","category":"dev-tools","readme_excerpt":"adjustText - automatic label placement for matplotlib Inspired by ggrepel package for R/ggplot2 (https://github.com/slowkow/ggrepel) Alternative: textalloc https://github.com/ckjellson/textalloc Brief description The idea is that often when we want to label multiple points on a graph the text will start heavily overlapping with both other labels and data points. This can be a major problem requiring manual solution. However this can be largely automatized by smart placing of the labels (difficult) or iterative adjustment of their positions to minimize overlaps (relatively easy). This library (well... script) implements the latter option to help with matplotlib graphs. Usage is very straightforward with usually pretty good results with no tweaking (most important is to just make text slightly smaller than default and maybe the figure a little larger). However the algorithm itself is highly configurable for complicated plots. Getting started Installation Should be installable from pypi: Or with conda : For the latest version from github: Documentation [Wiki] has some basic introduction, and more advanced usage examples can be found [here]. Thanks to Christophe Van Neste @beukueb, adjustText has a simple documentation: http://adjusttext.readthedocs.io/en/latest/ [Wiki]: https://github.com/Phlya/adjustText/wiki [here]: https://github.com/Phlya/adjustText/blob/master/docs/source/Examples.ipynb Citing adjustText To cite the library if you use it in scientific publications (or anywh","default_branch":null,"files":null,"tree":[],"storefront":"/r/Phlya","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Phlya/adjustText/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}