How can I do to get rid of this warning?
C:\ProgramData\Anaconda3\lib\site-packages\seaborn_decorators.py:36: FutureWarning: Pass the following variable as a keyword arg: x. From version 0.12, the only valid positional argument will be data
, and passing other arguments without an explicit keyword will result in an error or misinterpretation.
warnings.warn(enter image description here
sns.countplot(ex_emp['dept'])
plt.title('Department of Employees Who Left')
plt.figure(figsize=(10,5))
plt.savefig('ex_dept.png', bbox_inches='tight')
plt.show()