You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having the exact same problem. This issue still has not been resolved.
Basically, long categorical names serve to push the source label out to the right, beyond the viewable area of the chart. You can make the source label visible by appending a long string at the end.
import chartify
Generate example data
data = chartify.examples.example_data()
quantity_by_fruit = (data.groupby('fruit')['quantity'].sum().reset_index())
print(quantity_by_fruit.head())
quantity_by_fruit.iloc[0,0] = 'AAAAAAAAAAAAAAAAAAAA'
ch = chartify.Chart(False, y_axis_type='categorical')
ch.set_title("Vertical bar plot")
ch.plot.bar(
data_frame=quantity_by_fruit,
categorical_columns='fruit',
numeric_column='quantity')
ch.show()
The text was updated successfully, but these errors were encountered: