Closed joaoOarthur closed 2 years ago
It is not possible to plot the same graph within a for loop (on jupyter).
example:
for some_feature in feature_list: stacked_percentage_bar_plot( my_df, categorical_feature=some_feature, hue=target_feature)
Won't produce any plots. Could it be related to having a return fig at the end of each plot function?
return fig
We just need to make sure that at each call for the function a graph is plotted. Should work within a loop or not.
No response
Context
It is not possible to plot the same graph within a for loop (on jupyter).
example:
Won't produce any plots. Could it be related to having a
return fig
at the end of each plot function?Describe your proposed solution
We just need to make sure that at each call for the function a graph is plotted. Should work within a loop or not.
Describe alternatives you've considered
No response
Any other comments?
No response