-
Notifications
You must be signed in to change notification settings - Fork 34
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 issue in decomposition plotting to specified axes #280
Changes from all commits
db4badb
4ea1e96
928d08d
bcc809b
1216147
fb4afb1
7a50f90
4386838
f8a0ef3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -434,15 +434,19 @@ | |||||
""" | ||||||
|
||||||
docdict["axes_topomap"] = """ | ||||||
axes : matplotlib.axes.Axes | list of matplotlib.axes.Axes | None (default None) | ||||||
axes : length-2 tuple of list of matplotlib.axes.Axes | None (default None) | ||||||
The axes to plot to. If `None`, a new figure will be created with the correct number | ||||||
of axes. If not `None`, the number of axes must match ``components``. | ||||||
of axes. If not `None`, there must be two lists containing the axes for the seeds | ||||||
and targets, respectively. In each of these two lists, the number of axes must match | ||||||
``components`` if ``colorbar=False``, or ``components * 2`` if ``colorbar=True``. | ||||||
""" | ||||||
|
||||||
docdict["name_format_topomap"] = r""" | ||||||
name_format : str | None (default None) | ||||||
The string format for axes titles. If `None`, uses ``f"{method}%%01d"``, i.e. the | ||||||
method name followed by the component number. | ||||||
The string format for axes titles. If `None`, uses ``f"{method}%01d_{group}"``, | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Elsewhere in the plotting docstrings the existing form is used which generates a link to the Python docs in the class params list, however for the method param docstrings this is just italicising the words (no links; also for True, str). I didn't notice this difference before. Is this expected behaviour? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry, I didn't spot this question before ticking auto-merge. Here's an answer anyway: In the context of this sentence, |
||||||
i.e., the method name followed by the component number and the group being plotted | ||||||
(seeds or targets). If not `None`, it must contain a formatting specifier for the | ||||||
component number, and the group will be appended to the end. | ||||||
""" | ||||||
|
||||||
docdict["nrows_topomap"] = """ | ||||||
|
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.
This was missing before #232 was merged. My bad.