-
Notifications
You must be signed in to change notification settings - Fork 250
Add support to set figure title in plot method #1306
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @toufiqmusah.
Thanks for your contribution, @toufiqmusah. @allcontributors please add @toufiqmusah for code |
@allcontributors please add @toufiqmusah for code |
I've put up a pull request to add @toufiqmusah! 🎉 |
@fepegar Thanks for the merge. Though I will have to address the issue of the y offset. You were right to callout the hardcoded value probably affecting examples like I will work on a fix in the coming days and make an update. |
Description
Included plt.suptitle() to the plot_volume() method in visualization.py, to enable plotting subjects with a main title.
Added two args (figtitle: str None, fig title_y:int 0.75).
Here is a GitHub Gist of it working, along with tests.
No title:

Title:

Checklist
CONTRIBUTING
docs and have a developer setup ready