Comments (1)
Hi @JFA-CT assuming you are using ipysankeywidget
to show the Sankey diagrams in a Jupyter notebook, you can set the scale of the diagrams by setting the SankeyWidget's scale
attribute.
Something like
scale = 0.2 # SVG units per data unit
w = weave(...).to_widget()
w.scale = scale
w # at end of a cell it gets displayed (or you can use IPython display(w) explicitly)
See example here (if you can ignore the part which is about setting custom node positions, and see where the scale is set)
https://nbviewer.org/github/ricklupton/ipysankeywidget/blob/master/examples/More%20examples.ipynb#Custom-layout
from floweaver.
Related Issues (20)
- Set minimum width for flow HOT 2
- Reversal of source flow causes number of groups to be truncated HOT 1
- Code Example HOT 2
- Define size in SankeyWidget() HOT 4
- Floweaver not importing
- Use floweaver in loop HOT 2
- When converting data to json, "Object of type int64 is not JSON serializable" error occurs HOT 1
- How to extend the length of texts for the target column? HOT 2
- floweaver does not even the basic project sankeys from tutorials
- Node labels HOT 1
- Order of nodes HOT 2
- Is it possible to control the positioning of the labels? HOT 2
- Adjusting size of nodes HOT 1
- jupyter-sankey-widget javascript error HOT 2
- Starting new flows from waypoints and preserving order HOT 1
- Greying of small flows (by threshold)? HOT 10
- Use threshold (based on one measure) to choose a (quantitative) colour scheme based on another measure HOT 2
- colour scales tutorial, minor issues
- Define order of flows in a bundle
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 floweaver.