Hi everybody, I didn’t find anything on this problem while searching the web. When adding a second x-axis to my plots, the secondary axis seems to lack anti-aliasing or sth (it just looks weirdly bold and pixelated). The secondary axis is added with ax.secondary_xaxis. I plan to export these as .svg and depending on the scaling it just looks awful (they also look bad as .png). The other side of the x-axis looks fine.
Does anyone have an idea as to what could be causing this? I am using Matplotlib 3.4.3 and Python 3.9.7.
(So far I haven’t been able to reproduce this behaviour in a MWE and otherwise it would be a hole load of code and data)
Edit: It seems that my image wasn’t uploaded with the post, trying to fix it…
Image: https://imgur.com/a/aadLbpO
submitted by /u/Thunderflower58
[link] [comments]
r/learnpython Hi everybody, I didn’t find anything on this problem while searching the web. When adding a second x-axis to my plots, the secondary axis seems to lack anti-aliasing or sth (it just looks weirdly bold and pixelated). The secondary axis is added with ax.secondary_xaxis. I plan to export these as .svg and depending on the scaling it just looks awful (they also look bad as .png). The other side of the x-axis looks fine. Does anyone have an idea as to what could be causing this? I am using Matplotlib 3.4.3 and Python 3.9.7. (So far I haven’t been able to reproduce this behaviour in a MWE and otherwise it would be a hole load of code and data) Edit: It seems that my image wasn’t uploaded with the post, trying to fix it… Image: https://imgur.com/a/aadLbpO submitted by /u/Thunderflower58 [link] [comments]
Hi everybody, I didn’t find anything on this problem while searching the web. When adding a second x-axis to my plots, the secondary axis seems to lack anti-aliasing or sth (it just looks weirdly bold and pixelated). The secondary axis is added with ax.secondary_xaxis. I plan to export these as .svg and depending on the scaling it just looks awful (they also look bad as .png). The other side of the x-axis looks fine.
Does anyone have an idea as to what could be causing this? I am using Matplotlib 3.4.3 and Python 3.9.7.
(So far I haven’t been able to reproduce this behaviour in a MWE and otherwise it would be a hole load of code and data)
Edit: It seems that my image wasn’t uploaded with the post, trying to fix it…
Image: https://imgur.com/a/aadLbpO
submitted by /u/Thunderflower58
[link] [comments]