dexplo / bar_chart_race

Create animated bar chart races in Python with matplotlib
MIT License
1.35k stars 351 forks source link

UserWarning: FixedFormatter should only be used together with FixedLocator ax.set_yticklabels(self.df_values.columns #73

Open mikezang opened 1 year ago

mikezang commented 1 year ago

I got error as below, what can I do?

c:\Program Files\python\Lib\site-packages\bar_chart_race_make_chart.py:286: UserWarning: FixedFormatter should only be used together with FixedLocator ax.set_yticklabels(self.df_values.columns) c:\Program Files\python\Lib\site-packages\bar_chart_race_make_chart.py:287: UserWarning: FixedFormatter should only be used together with FixedLocator ax.set_xticklabels([max_val] * len(ax.get_xticks()))