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

Bug Fix: “Size” ignored if placed before fontproperties #1

Open
rayafarhadi opened this issue Mar 9, 2020 · 0 comments
Open

Bug Fix: “Size” ignored if placed before fontproperties #1

rayafarhadi opened this issue Mar 9, 2020 · 0 comments
Assignees

Comments

@rayafarhadi
Copy link
Collaborator

In as.text, ax.set_title and all the functions realated to displaying characters on the figure,
the arguement size is ignored if it is placed before fontproperties.

Code for reproduction

plt.hist(data, bins=40, facecolor="blue", edgecolor="black", alpha=0.5)
plt.xlabel("value", fontproperties='SimHei',size=20  ) # this will work
plt.ylabel("counts",size=20, fontproperties='SimHei')  # this doesn't
plt.show()

This issue is replicated with ipython (%pylab) and jupyter-notebook

matplotlib/matplotlib#16389

@rayafarhadi rayafarhadi added this to Backlog in Matplotlib Team 30 via automation Mar 9, 2020
@rayafarhadi rayafarhadi moved this from Backlog to Planned in Matplotlib Team 30 Mar 9, 2020
@WesleyMa2 WesleyMa2 moved this from Planned to In Progress in Matplotlib Team 30 Mar 11, 2020
@WesleyMa2 WesleyMa2 moved this from In Progress to In Review in Matplotlib Team 30 Mar 11, 2020
@Sokojoe Sokojoe moved this from In Review to Done in Matplotlib Team 30 Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants