Comments (5)
You were right to expect the opposite effect! I've never encountered this,
could you create a minimal reproducible example? I'll then try it later.
10 Авг 2016 г. 13:06 пользователь "Manuel" [email protected]
написал:
for point, label in zip(embed, labs):
notes.append(plt.text(point[0], point[1], label, bbox={'pad':0, 'alpha':0}, size=5))
adjust_text(notes, arrowprops=dict(arrowstyle="->", color='r'))[image: plot]
https://cloud.githubusercontent.com/assets/1309922/17552941/5a1f140a-5f03-11e6-9124-ad704302547a.pngi expected the exact opposite result!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#4, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACwsusYof8vqH3cj-2O4CKOay3UOUpn_ks5qeb6pgaJpZM4JhEse
.
from adjusttext.
https://gist.github.com/manuel-delverme/0a4610a981f0f92c1685a74a4fce1feb
from adjusttext.
Ok, thanks! I'm away from a computer now, but could you try running the
plt.scatter before adjust_text? I think now your axes aren't set up when
you do it, so maybe that's the problem.
10 Авг 2016 г. 16:25 пользователь "Manuel" [email protected]
написал:
https://gist.github.com/manuel-delverme/0a4610a981f0f92c1685a74a4fce1feb
[image: figure_1]
https://cloud.githubusercontent.com/assets/1309922/17559669/62a78f82-5f1f-11e6-9ffd-13d8cc0a9f3a.png—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#4 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACwsuqWx4ZsBMrsfiqIn6Gc5IC4TkhLgks5qee1XgaJpZM4JhEse
.
from adjusttext.
Yes, I just checked, that's definitely the issue. If you simply do that you get this:
from adjusttext.
And to make it nicer try reducing force_text, then the super long arrows become much shorter - for example with force_text=0.25
:
from adjusttext.
Related Issues (20)
- Time Limit HOT 2
- Altering Data HOT 3
- Please be mindful of the versions HOT 10
- Example of integrating seaborn.object()
- Plotly support? HOT 1
- Feature request: Fix output (specify iteration limit instead of time) HOT 2
- Is the `bioframe` dependency necessary? HOT 3
- Just started not working one day with this error HOT 2
- Version 1.0.3 has a non declared dependency on pandas HOT 1
- force_points key word removed? HOT 2
- Labels misplaced in subplots HOT 1
- Issue with "matplotlib.axes.Axes.annotate" using the arguments "xytext" and "textcoords" HOT 5
- Poor Result when avoiding a polygonal curve HOT 6
- adjustText 1.1 doesn't work properly anymore HOT 6
- Arrows disappear when using cartopy transformation HOT 11
- query_pairs unexpected argument HOT 3
- Numpy 2.0 related issue - use of 'np.Inf`' HOT 3
- update to work with numpy 2.0 HOT 1
- Prevent text overlapping scaled scatter points HOT 3
- avoid crossing of the connector lines HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adjusttext.