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

Distplot don't work with fig.set_title() #2708

Closed
xpcosmos opened this issue Dec 4, 2021 · 1 comment
Closed

Distplot don't work with fig.set_title() #2708

xpcosmos opened this issue Dec 4, 2021 · 1 comment

Comments

@xpcosmos
Copy link

xpcosmos commented Dec 4, 2021

I'm using ax.set_titles() to change my figure title but it's not working!

My code:

ax = sns.displot(df, x='log_valor')
ax.figure.set_size_inches(15, 7)
ax.set_xlabels('Valores', fontsize=15)
ax.set_titles('Distribuição')
plt.show()

My plot:

2ac4ec09-f4ca-449a-a8ea-3ee5a6fb7795

@mwaskom
Copy link
Owner

mwaskom commented Dec 4, 2021

Hi, please ask "how do I do x" questions on StackOverflow. Thanks!

@mwaskom mwaskom closed this as completed Dec 4, 2021
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

2 participants