Skip to content
Snippets Groups Projects
Commit d2bab6a0 authored by Alexander Shervud's avatar Alexander Shervud
Browse files

Notebook changes

parent e90e2e10
No related branches found
No related tags found
No related merge requests found
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -23,10 +23,10 @@ plotter_title_fontweight: 600
# IDEAS
# Plotter fig configuration
plotter_fig_height: 10
plotter_fig_height: 8
# Plotter fig configuration
plotter_fig_width: 8
plotter_fig_width: 18
#---------------------------------------------
......
......@@ -73,12 +73,12 @@ class Plotter:
grouped_data = self.df.groupby(target).size()
ax.barh(grouped_data.index, grouped_data.values)
print(
str(grouped_data),
str(grouped_data.index),
str(grouped_data.values),
str((grouped_data / len(self.df)) * 100),
)
ax.set_xlabel("Size")
ax.set_ylabel(target)
fig.set_figheight(parameters["plotter_fig_height"])
fig.set_figwidth(parameters["plotter_fig_width"])
self.customize_plot(fig, ax, styling_params)
def plot_categorical_bar_chart(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment