Skip to content

Commit

Permalink
Deleting Warning on Plot
Browse files Browse the repository at this point in the history
  • Loading branch information
cetagostini committed Sep 5, 2023
1 parent 05d6bb5 commit 7305590
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pymc_marketing/mmm/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,6 @@ def _plot_response_curve_fit(
ax.plot(
x_inflection,
y_inflection,
"go",
color=f"C{color_index}",
markerfacecolor="white",
)
Expand Down Expand Up @@ -983,7 +982,7 @@ def plot_direct_contribution_curves(
x = self.X[self.channel_columns].to_numpy()[:, i]
y = channel_contributions.sel(channel=channel).to_numpy()

ax.scatter(x, y, label=f"{channel}", color=f"C{i}")
ax.scatter(x, y, label="Data Points", color=f"C{i}")

if show_fit:
self._plot_response_curve_fit(
Expand Down

0 comments on commit 7305590

Please sign in to comment.