Comments (2)
Thanks for the suggestion! Here's a solution that you can use until we think of a better long term option:
import chartify
# Generate example data
data = chartify.examples.example_data()
average_price_by_fruit_and_country = (data.groupby(
['fruit', 'country'])['total_price'].mean().reset_index())
ch = (chartify.Chart(
blank_labels=True,
x_axis_type='categorical',
y_axis_type='categorical')
.plot.heatmap(
data_frame=average_price_by_fruit_and_country,
x_column='fruit',
y_column='country',
color_column='total_price',
text_column='total_price',
text_color='white')
)
# Get the current order
xaxis_order = ch.axes.xaxis_factors
# Manipulate the order here
xaxis_order = xaxis_order[::-1]
# Set the order
ch.axes.set_xaxis_factors(xaxis_order)
ch.show()
from chartify.
@cphalpert thank you! Very useful workaround!
from chartify.
Related Issues (20)
- Chartify breaks with PyYAML 5.3.0
- Add link to readthedocs in readme
- Bokeh 2.0 is imminent HOT 2
- Bar and interval charts not aligning correctly HOT 1
- "Bokeh was not loaded in time"
- When I update bokeh,it take an error HOT 5
- Doesn't plot with "html" in colab
- Trying to get in touch regarding a security issue HOT 1
- cumulative histogram
- Broken links in documentation & unable to edit documentation HOT 1
- Chartify doesn't render plots HOT 3
- Support pandas>=2
- Pass tool list into Chart initialization
- Faceted charts
- Chartify dashboards
- PNG too low resolution to use in Google slides
- PNG is always a white square HOT 4
- Maybe add a license line to your setup.py HOT 1
- Soliciting input on bokeh-static proposal
- ValueError: Bad 'legend' parameter value: None 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 chartify.