Fix/test and missing definition (#18)
* added missing comment on setting up matplotlib * changed assertion description so that it makes sense * fig definition * new comment
This commit is contained in:
@@ -20,11 +20,16 @@ def draw_cat_plot():
|
||||
|
||||
# Group and reformat the data to split it by 'cardio'. Show the counts of each feature. You will have to rename one of the columns for the catplot to work correctly.
|
||||
df_cat = None
|
||||
|
||||
|
||||
# Draw the catplot with 'sns.catplot()'
|
||||
|
||||
|
||||
|
||||
# Get the figure for the output
|
||||
fig = None
|
||||
|
||||
|
||||
# Do not modify the next two lines
|
||||
fig.savefig('catplot.png')
|
||||
return fig
|
||||
|
||||
Reference in New Issue
Block a user