
Hi, I’m trying to get the labels of a pie chart but it doesn’t work. I want to have the information color palette on the right or anything refering the data.
from math import pi
import pandas as pd
from bokeh.io import output_file, show
from bokeh.palettes import Category20c
from bokeh.plotting import figure
from bokeh.transform import cumsum
cat = data.groupby(['Category Name'])['Sales per customer'].sum().reset_index().sort_values('Sales per customer')
cat.plot.pie(
x='Category Name',
y='Sales per customer',
title="Categorías con mas ventas"
)


