matplotlib-label-lines
matplotlib-label-lines copied to clipboard
Label line using matplotlib.
To use the first example as a starting point, say I want to put all the labels for the lines to the right of the lines at x=1.05. Right now...
So this is probably a niche case but when this code is presented with a 'line' comprised of a singular point _update_anchors() throws a value error as it can't surround...
Thanks for sharing! I have a question about how to change the font for the label; I tried font_path = fm.findfont(fm.FontProperties(family='Times New Roman')) font_prop = fm.FontProperties(fname=font_path, size=18) labelLines(axs["D"].get_lines(), align=True, fontsize=18,fontproperties=font_prop)...
Following a discussion on Twitter (https://twitter.com/matplotlib/status/1480027041315667971) it would be great to implement a “text-on-path” effect. This would notably be made possible by reusing the following snippet https://stackoverflow.com/questions/19353576/curved-text-rendering-in-matplotlib (after asking for...
## Problem The last example in the [example notebook](https://github.com/cphyc/matplotlib-label-lines/blob/main/example/matplotlib_label_lines.ipynb) is not reproducing what is shown in the repository. The labels on the dashed lines are incorrect. There is a mismatch...
The test `test_xylogspace` yields unstable results, see the example below. For a reason to be found, the result either look like 1 or 2 below. This causes the test to...
Should close #121
This fixes #81.
I would like to add custom labels to the labelLines method. This is already supported via labelLine, however, adding the same functionality to labelLines would save some boilerplate code. ##...
Not much of an issue, more of a request, but would there be an easy way to line up the text on the lines, but keeping the text at the...