Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

pymc_marketing.plot.plot_curve with sample dim #1270

Open
wd60622 opened this issue Dec 13, 2024 · 0 comments
Open

pymc_marketing.plot.plot_curve with sample dim #1270

wd60622 opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers plots

Comments

@wd60622
Copy link
Contributor

wd60622 commented Dec 13, 2024

plot_curve will not work when there is the sample dimension

This would show up with any combined=True DataArrays

Having the combined=True causes the data_array.sizes to not include draw or chain dimensions since they were combined. For example:

# Output of sizes attribute
Frozen({'date': 35, 'sample': 100})
@wd60622 wd60622 added bug Something isn't working plots good first issue Good for newcomers and removed Needs Triage labels Dec 13, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working good first issue Good for newcomers plots
Projects
None yet
Development

No branches or pull requests

1 participant