facebookexperimental / Robyn

Robyn is an experimental, AI/ML-powered and open sourced Marketing Mix Modeling (MMM) package from Meta Marketing Science. Our mission is to democratise modeling knowledge, inspire the industry through innovation, reduce human bias in the modeling process & build a strong open source marketing science community.
https://facebookexperimental.github.io/Robyn/
MIT License
1.08k stars 322 forks source link

model one-pager does not display legend #850

Closed ekdz closed 7 months ago

ekdz commented 8 months ago

Project Robyn

Describe issue

I'm using Robyn (newest version) on Databricks. After some workarounds everything runs smoothly except for model one-pagers. It does not display legends. Example below. What can be the issue? I've tried to download a default font but without success. Do you have any idea?

image

gufengzhou commented 8 months ago

This is clearly a bug. Will check asap.

michellegrushkometa commented 7 months ago

Hey @ekdz, I am currently looking into the issue. As a workaround, can you please try running myOnePager[[select_model]]$patches$plots[[4]] for your selected model? This will show the plot with the legend

ekdz commented 7 months ago

@gufengzhou @michellegrushkometa thank you!