Skip to content

path effects not pretty #443

Open
Open

Description

@kinyatoride

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions