Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Closed
Milestone
Description
Bug report
Bug summary
plt.text(.5, .5, "foo", color=(0, 0, 0, 0)); plt.savefig("/tmp/test.svg") results in text being visible in the produced svg. Compare withplt.text(.5, .5, "foo", alpha=0); plt.savefig("/tmp/test.svg"), which correctly yields no visible text.
(The ps backend is also broken here as it yields visible text in both cases, but this is arguably less an issue because transparency support in PS can only be "faked" anyways.)
Code for reproduction
# Paste your code here##
Actual outcome
# If applicable, paste the console output here##Expected outcome
Matplotlib version
- Operating system: arch linux
- Matplotlib version: 2.1.2
- Matplotlib backend (
print(matplotlib.get_backend())): svg - Python version: 3.6
- Jupyter version (if applicable): n/a
- Other libraries: