Comments (4)
Tip: A good starting point for sizes that look visually similar is to scale by area. See https://mathematica.stackexchange.com/a/85094/12
from python-igraph.
Just FYI, there are like 50 bugs of this type in the plotting, and they are all related to the same fundamental issue, lack of sufficiently flexible locators in mpl. I don't suggest you spend a whole lot of time describing in detail each and every one of them.
Tamas and I met with a few mpl folks to try and sort out the issue. Unfortunately it's not an easy fix for them and my time for this kind of operations is becoming more limited. It's a big job and I don't think worth it before the new Python interface is out.
Hope this saves you some frustration.
from python-igraph.
I assume you are referring to the edges not joining up properly, right?
There's also the issue of the visual sizes. Perhaps the two issues should be split.
I can help with producing relative coordinates that make the different shapes look the same size if someone can put these into the code ...
from python-igraph.
As I already wrote, it's a big job and cannot be easily split into bit-sized quick fixes, AFAICT.
If you're interested in taking it on, perhaps you could start by reviewing our approach using custom Collections and the on-the-fly transforms they contain. From there, the most efficient path would probably be to reach out to the mpl folks - happy to connect you if you want. You would have to coordinate with them about a new system for dynamic coordinates and transforms, and see how that helps.
from python-igraph.
Related Issues (20)
- Expose invalidate_cache()
- is_bigraphical should not have an option for self-loops
- Undirected multigraph edges are filled polygons in Matplotlib HOT 4
- Online doc pages should have analytics HOT 1
- Lazy load matplotlib to avoid import locks HOT 4
- Handling of neighbouring vertices in vertex connectivity calculations not properly documented HOT 1
- load graph from graph-tool HOT 3
- Update platforms wheels are being created for HOT 2
- Clarify documentation of get_shortest_path
- Expose igraph_from_prufer() HOT 3
- Tutorial makes the impression that `bbox` option should work with Matplotlib HOT 2
- Tables in the tutorial should wrap text HOT 3
- `vertex_color` as tuple of RGB doesn't work HOT 2
- fails to build with clang 17.0.6 in Termux HOT 4
- Add C argument prefixattr to Python interface of write_graphml HOT 2
- In version 0.10.5 or later, `ax.texts` is empty.
- Is it possible to have the global/local efficiency calculation function in the python-iGraph version?
- Lazy load matplotlib because importing it is slow and not core to using igrpah HOT 1
- Feature Request: Object Graph Model HOT 4
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 python-igraph.