Skip to content
Snippets Groups Projects
Commit 3d7cff4a authored by niklasfranz's avatar niklasfranz
Browse files

feat: added plot_scatterplot function

parent 94cf0b59
No related branches found
No related tags found
No related merge requests found
...@@ -43,4 +43,9 @@ class Plotter: ...@@ -43,4 +43,9 @@ class Plotter:
weights=anx_score_weights, weights=anx_score_weights,
bins = bins, bins = bins,
alpha=0.5, alpha=0.5,
) )
\ No newline at end of file
def plot_scatterplot(self, target1, target2, styling_params = {}):
fig, ax = plt.subplots()
self.customize_plot(fig, ax, styling_params)
ax.scatter(self.df[target1], self.df[target2])
\ No newline at end of file
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