-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exported chart is shrunk in 0.4.5 #42
Comments
Hello @actionbrk, thank you for your interest in our work! If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you. |
Hi @actionbrk , would you mind sharing both versions of the chart? Shrunk and non-shrunk? I just tried recreating it and I get the same chart for both 0.4.4 and 0.4.5 |
Hi @chekos, I recreated a new venv (still in Python 3.8.3) and pip installed datawrapper (v0.4.4), pandas and python-dotenv. I ran the same code. As with my old venv, the chart looks nice in 0.4.4 : Then I updated datawrapper with
I ran the code again and got a shrunk chart : I first thought I had a problem with dependencies. I Here are the installed packages I have (
Maybe the Python version has something to do with it? I think I will try to do the same with Python 3.9. |
I created a new venv with Python 3.9.4. I went through the same steps and I ended up with the same problem (and same dependency list). |
Sorry for the delay in response! i'm taking a look at this today. In datawrapper 0.4.5 we changed the default width to 100 (and the unit is still defaulted to "px") whereas before it was set to 600. That was a mistake on our part! Thanks for catching it @actionbrk This will be fixed in 0.4.6 but in the mean time you can just Again, thanks for catching this AND letting me know, I hadn't heard from other users but this is not the behavior I want by default 🚀 |
🐛 Bug Report
Exported chart looks different between 0.4.4 and 0.4.5. It looks shrunk in 0.4.5.
🔬 How To Reproduce
Steps to reproduce the behavior:
Code sample
Environment
Screenshots
📈 Expected behavior
Exported chart should not look shrunk.
📎 Additional context
The text was updated successfully, but these errors were encountered: