You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Mike, would you mind creating a minimal reproducible example?
In general, I suspect that the second plot is actually what happens, and you have to change the parameters to make it look nicer. Very long labels are prone to give strange results... In the latest commit I added separate forces for x and y movement, you probably want to increase the y forces and decrease the x forces.
When trying to plot a negative log plot, and adding labels to the most divergent points, I end up with the following:
If I now call
adjust_text
after setting the inverted loglog axes, I get this:If I set the labels before computing any points, I get this:
Code is here: https://github.com/MikeDacre/mike_tools/blob/test_plot/python/plots.py
Line 110 in
scatter
is where I am callingadust_text
in the second figure above. I move lines 105–111 up to line 52 to get the last figure.This is all on python 3.5.2 installed by anaconda
The text was updated successfully, but these errors were encountered: