Comments (1)
Hi! By default it is plotting each category from bottom left to top right, that's why you are seeing [30, 16, 4] in bottom to top direction. So to make the tail blocks at the "last rows" (top to bottom direction), you can simply flip the plot by specifying starting_location='NW'.
fig = plt.figure(
FigureClass=Waffle,
columns=10,
values=[30, 16, 4],
block_arranging_style='new-line',
vertical=True,
starting_location='NW'
)
This section might be helpful: https://pywaffle.readthedocs.io/en/latest/examples/block_shape_spacing_location_direction_and_style.html#where-to-start-first-block
from pywaffle.
Related Issues (20)
- block present when value is 0 HOT 1
- Vertical orientation? HOT 1
- cant specify columns HOT 3
- characters argument and plt.savefig HOT 7
- Font awesome license HOT 2
- Blocks of a single colour are not always contiguous HOT 11
- missing corner squares with automatic scaling HOT 3
- Request: ability to use system-packaged Fontawesome if found? HOT 3
- Fractional blocks HOT 1
- Add the ability to create chart on axis HOT 1
- Add Font Awesome through Python package
- Problem with Font awesome on VsCode HOT 8
- Feature request
- Feature request
- is it possible to control edge color? HOT 2
- Font file not found when using FontAwesome icons HOT 2
- ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). HOT 3
- KeyError: 'rows' in waffle.py HOT 2
- Update to FontAwesome v5 HOT 2
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 pywaffle.