Splink 4.0.0: Cannot save completeness chart to PNG #2335
-
I can no longer save off-line charts to PNG for PDF; I had no problem doing this using Splink 3.9.15. I am using Splink 4.0.0 with the default DuckDB backend on Python 3.11.9 for Windows, I assume it is a user error (my fault!). It is a new installation of Python and The code below illustrates the issue for the completeness chart. I also cannot save a blocking chart to PNG. I do not have a reprex yet. In the requirements.txt file I have, for example,
The error message is:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Does this work?
If that fails, the issue is with |
Beta Was this translation helpful? Give feedback.
The issue was with my RStudio IDE, which I use for automated reporting in PDF. Upgrading RStudio IDE from 2024.04.1+748 (outdated) to 2024.04.2+764 (current) solved the issue.
Robin's code also works; just need to first add
import pandas as pd
.