All Projects → Phlya → Adjusttext

Phlya / Adjusttext

Licence: mit
A small library for automatically adjustment of text position in matplotlib plots to minimize overlaps.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Adjusttext

Highcharts Chart
Polymer Element wrapper for highcharts library. Seamlessly create various types of charts from one element.
Stars: ✭ 97 (-86.73%)
Mutual labels:  graph, plotting, plot
Uplot
📈 A small, fast chart for time series, lines, areas, ohlc & bars
Stars: ✭ 6,808 (+831.33%)
Mutual labels:  graph, plotting, plot
Joypy
Joyplots in Python with matplotlib & pandas 📈
Stars: ✭ 322 (-55.95%)
Mutual labels:  jupyter-notebook, matplotlib, plotting
Matplotlib Venn
Area-weighted venn-diagrams for Python/matplotlib
Stars: ✭ 260 (-64.43%)
Mutual labels:  jupyter-notebook, matplotlib, plotting
Tensorflow Plot
📈 TensorFlow + Matplotlib as TF ops
Stars: ✭ 285 (-61.01%)
Mutual labels:  matplotlib, plot
Audio Spectrum Analyzer In Python
A series of Jupyter notebooks and python files which stream audio from a microphone using pyaudio, then processes it.
Stars: ✭ 273 (-62.65%)
Mutual labels:  jupyter-notebook, matplotlib
Termplotlib
Plotting on the command line
Stars: ✭ 294 (-59.78%)
Mutual labels:  plotting, plot
Python Notlarim
Python notes in Turkish.
Stars: ✭ 356 (-51.3%)
Mutual labels:  jupyter-notebook, matplotlib
Graph Based Deep Learning Literature
links to conference publications in graph-based deep learning
Stars: ✭ 3,428 (+368.95%)
Mutual labels:  graph, jupyter-notebook
Thesemicolon
This repository contains Ipython notebooks and datasets for the data analytics youtube tutorials on The Semicolon.
Stars: ✭ 345 (-52.8%)
Mutual labels:  jupyter-notebook, matplotlib
Stats Maths With Python
General statistics, mathematical programming, and numerical/scientific computing scripts and notebooks in Python
Stars: ✭ 381 (-47.88%)
Mutual labels:  jupyter-notebook, matplotlib
Brokenaxes
Create matplotlib plots with broken axes
Stars: ✭ 266 (-63.61%)
Mutual labels:  matplotlib, plotting
Graph nn
Graph Classification with Graph Convolutional Networks in PyTorch (NeurIPS 2018 Workshop)
Stars: ✭ 268 (-63.34%)
Mutual labels:  graph, jupyter-notebook
Geopython
Notebooks and libraries for spatial/geo Python explorations
Stars: ✭ 268 (-63.34%)
Mutual labels:  jupyter-notebook, matplotlib
Vapeplot
matplotlib extension for vaporwave aesthetics
Stars: ✭ 483 (-33.93%)
Mutual labels:  matplotlib, plot
Pyplot.jl
Plotting for Julia based on matplotlib.pyplot
Stars: ✭ 347 (-52.53%)
Mutual labels:  matplotlib, plotting
Weir
A system for making generative systems
Stars: ✭ 451 (-38.3%)
Mutual labels:  graph, plotting
Ttyplot
a realtime plotting utility for terminal/console with data input from stdin
Stars: ✭ 532 (-27.22%)
Mutual labels:  graph, plot
Pymeasure
Scientific measurement library for instruments, experiments, and live-plotting
Stars: ✭ 255 (-65.12%)
Mutual labels:  graph, plot
Network Analysis Made Simple
An introduction to network analysis and applied graph theory using Python and NetworkX
Stars: ✭ 700 (-4.24%)
Mutual labels:  graph, jupyter-notebook

Documentation Status Gitter chat DOI PyPI version

adjustText - automatic label placement for matplotlib

Inspired by ggrepel package for R/ggplot2 (https://github.com/slowkow/ggrepel) Alt text

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:

pip install adjustText

Or with conda:

conda install -c conda-forge adjusttext 

For the latest version from github:

pip install https://github.com/Phlya/adjustText/archive/master.zip

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/

Citing adjustText

To cite the library if you use it in scientific publications (or anywhere else, if you wish), please use the link to the GitHub repository (https://github.com/Phlya/adjustText) and a zenodo doi (see top of this page). Thank you!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].