ax = sns.boxplot(y='consumo', x='fds', data=dados['consumo'], orient='v', width=0.2)
ax.figure.set_size_inches(12, 6)
ax.set_title('Consumo de Cerveja', fontsize=20)
ax.set_ylabel('Litros', fontsize=16)
ax.set_xlabel('Final de Semana', fontsize=16)
ax
ValueError Traceback (most recent call last) in ----> 1 ax = sns.boxplot(y='consumo', x='fds', data=dados['consumo'], orient='v', width=0.2) 2 ax.figure.set_size_inches(12, 6) 3 ax.set_title('Consumo de Cerveja', fontsize=20) 4 ax.set_ylabel('Litros', fontsize=16) 5 ax.set_xlabel('Final de Semana', fontsize=16)
~\Anaconda3\lib\site-packages\seaborn\categorical.py in boxplot(x, y, hue, data, order, hue_order, orient, color, palette, saturation, width, dodge, fliersize, linewidth, whis, notch, ax, **kwargs) 2229 plotter = BoxPlotter(x, y, hue, data, order, hueorder, 2230 orient, color, palette, saturation, -> 2231 width, dodge, fliersize, linewidth) 2232 2233 if ax is None:
~\Anaconda3\lib\site-packages\seaborn\categorical.py in init(self, x, y, hue, data, order, hue_order, orient, color, palette, saturation, width, dodge, fliersize, linewidth) 444 width, dodge, fliersize, linewidth): 445 --> 446 self.establish_variables(x, y, hue, data, orient, order, hue_order) 447 self.establish_colors(color, palette, saturation) 448
~\Anaconda3\lib\site-packages\seaborn\categorical.py in establish_variables(self, x, y, hue, data, orient, order, hue_order, units) 153 if isinstance(input, string_types): 154 err = "Could not interpret input '{}'".format(input) --> 155 raise ValueError(err) 156 157 # Figure out the plotting orientation
ValueError: Could not interpret input 'fds'