SG misses classes that aren't imported
See original GitHub issueUPDATED:
Right now it seems like methods of classes will only be linked with backrefs if the class is imported somehow (e.g., import matplotlib.pyplot as plt; ax = plt.Axes()
would I think properly link to any methods in ax
such as ax.scatter
).
However, sometimes there are objects which have examples in the docs, but are not explicitly imported in those examples. E.g., fig, ax = plt.subplots
).
How should we handle these cases?
@Eric89GXL has proposed something like this:
Maybe a compromise would be to parse the non-code for statements in the that contain Sphinx references, like:
This example makes use of :class:`mne.SourceEstimate`.
Then it’s clean RST format, and should/could link nicely?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
QBO Plus - Missing Fields for Customer Importing
QBO Plus - Missing Fields for Customer Importing · Go to the Gear icon and choose Import Data. · Choose Customers. · Click...
Read more >java.lang.NoClassDefFoundError: Could not initialize class XXX
class PropHolder is a class of my own. The class resides in the same JAR file of the main class. So that should...
Read more >Resolve missing fonts in desktop applications - Adobe Support
When you open a file that uses fonts which aren't available on your computer, the missing fonts window will show which of those...
Read more >Generating a path and publishing it - SG Developer
The purpose of this guide is to walk through a basic example of how you can use the API, and by the end,...
Read more >Participant Import, Update, & Export Messages (EX) - Qualtrics
Select the Participants tab. · Navigate to the Participants section of the Participants tab, if you aren't there already. · Click Tools. ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Titan-C any comment on this starting here? This is a feature we still miss.
I agree w/ @Eric89GXL - Matplotlib would also have a huge benefit from improvements along these lines (e.g. SG isn’t detecting any of the methods called on
Axes
objects that are created withplt.subplots
)