---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[33], line 5
      1 # Construction des pie charts pour le nombre de PDV, le nombre de transactions et le chiffre d'affaires/
      2 #Plot1- Pie chart - Répartition des points de vente entre format
      4 p_pie_1= df_recap[['format_store','12m_total_sales']].groupby(
----> 5     ['format_store']).count().plot_bokeh.pie(
      6     y='12m_total_sales',
      7     show_figure=False,title = 'Répartition des points de vente par format',
      8     legend = 'center_left'
      9 )
     11 #Plot2- Pie chart - Répartition du Ca des points de vente entre format
     12 p_pie_2= df_recap[['format_store','12m_total_sales']].groupby(
     13     ['format_store']).count().plot_bokeh.pie(
     14     y='12m_total_sales', 
   (...)
     17     legend = False
     18 )

File ~\AppData\Local\anaconda3\Lib\site-packages\pandas_bokeh\plot.py:2275, in FramePlotMethods.pie(self, y, **kwds)
   2226 def pie(self, y=None, **kwds):
   2227     """
   2228     Generate a pie plot.
   2229 
   (...)
   2273 
   2274     """
-> 2275     return self(kind="pie", y=y, **kwds)

File ~\AppData\Local\anaconda3\Lib\site-packages\pandas_bokeh\plot.py:1785, in FramePlotMethods.__call__(self, *args, **kwargs)
   1784 def __call__(self, *args, **kwargs):
-> 1785     return plot(self.df, *args, **kwargs)

File ~\AppData\Local\anaconda3\Lib\site-packages\pandas_bokeh\plot.py:439, in plot(df_in, x, y, kind, figsize, use_index, title, legend, logx, logy, xlabel, ylabel, xticks, yticks, xlim, ylim, fontsize_title, fontsize_label, fontsize_ticks, fontsize_legend, color, colormap, category, histogram_type, stacked, weights, bins, normed, cumulative, show_average, plot_data_points, plot_data_points_size, number_format, disable_scientific_axes, show_figure, return_html, panning, zooming, sizing_mode, toolbar_location, hovertool, hovertool_string, rangetool, vertical_xlabel, x_axis_location, webgl, reuse_plot, **kwargs)
    432     xlabelname = (
    433         figure_options["x_axis_label"]
    434         if figure_options.get("x_axis_label", "") != ""
    435         else "x"
    436     )
    438 # Create Figure for plotting:
--> 439 p = figure(**figure_options)
    440 if "x_axis_type" not in figure_options:
    441     figure_options["x_axis_type"] = None

File ~\AppData\Local\anaconda3\Lib\site-packages\bokeh\plotting\_figure.py:192, in figure.__init__(self, *arg, **kw)
    190 for name in kw.keys():
    191     if name not in names:
--> 192         self._raise_attribute_error_with_matches(name, names | opts.properties())
    194 super().__init__(*arg, **kw)
    196 self.x_range = get_range(opts.x_range)

File ~\AppData\Local\anaconda3\Lib\site-packages\bokeh\core\has_props.py:375, in HasProps._raise_attribute_error_with_matches(self, name, properties)
    372 if not matches:
    373     matches, text = sorted(properties), "possible"
--> 375 raise AttributeError(f"unexpected attribute {name!r} to {self.__class__.__name__}, {text} attributes are {nice_join(matches)}")

AttributeError: unexpected attribute 'plot_width' to figure, similar attributes are outer_width, width or min_width