I have the exact same issue as this question , except the implementation within cuxfilter
(RAPIDS)
cux_df = cuxfilter.DataFrame.from_dataframe(test)
chart0 = cuxfilter.charts.bar('index', 'count')
chart0.xaxis.major_label_orientation = "vertical"
chart0.view()
yields:
AttributeError: 'Bar' object has no attribute 'xaxis'
As @mosc9575 rightly mentioned in the comments, doing the following should resolve your issue:
chart0.chart.xaxis.major_label_orientation = "vertical"
The underlying chart0.chart
is a bokeh object, and its possible to apply all the bokeh properties to it directly.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.