Skip to content
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

path effects not pretty #443

Open
kinyatoride opened this issue Dec 20, 2023 · 0 comments
Open

path effects not pretty #443

kinyatoride opened this issue Dec 20, 2023 · 0 comments

Comments

@kinyatoride
Copy link

Description

Hi, I found that the path effects around title are sometime not as pretty as the default ones in matplotlib. I really like this feature in proplot so it would be nice if we can fix this. Below, I show an example where the path effect shows a weird behavior.

Steps to reproduce

import proplot as pplt
import matplotlib.patheffects as path_effects

pplt.rc.update(fontsize=16, titleborderwidth=4)

fig, ax = pplt.subplots()
ax.set_facecolor('gray')

ax.format(ultitle='MW')

text = ax.text(0.5, 0.5, 'MW')
text.set_path_effects([path_effects.Stroke(linewidth=4, foreground='white'),
                       path_effects.Normal()])

output

Proplot version

3.4.3
0.9.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant