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

Fix SCPyPlotExt #398

Merged
merged 3 commits into from
Oct 21, 2024
Merged

Fix SCPyPlotExt #398

merged 3 commits into from
Oct 21, 2024

Conversation

Sbozzolo
Copy link
Contributor

@Sbozzolo Sbozzolo commented Oct 13, 2024

The SCPyPlotExt had three problems:

  • the default argument to pdata is Profile.fetch(), but Profile was not imported
  • the extension was not adding methods to SnoopCompile.pgdsgui
  • prep_ri was failing with UndefVarError: lookup_firstip! not defined

As a result, the tutorial on pgdsgui was broken.

This commit fixes these issues. In the process, I also fixed syntax highlighing in a couple of places in the documentation.

The `SCPyPlotExt` had two problems:

- the default argument to `pdata` is `Profile.fetch()`, but `Profile`
was not imported
- the extension was not adding methods to `SnoopCompile.pgdsgui`

As a result, the tutorial on `pgdsgui` was broken.

This commit fixes both of these issues.
Co-authored-by: Charles Kawczynski <[email protected]>
Copy link

codecov bot commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.84%. Comparing base (622b233) to head (b305beb).
Report is 21 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #398      +/-   ##
==========================================
+ Coverage   78.96%   82.84%   +3.87%     
==========================================
  Files          17       12       -5     
  Lines        2054     1784     -270     
==========================================
- Hits         1622     1478     -144     
+ Misses        432      306     -126     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@timholy timholy merged commit dfed0cb into timholy:master Oct 21, 2024
12 of 13 checks passed
@timholy
Copy link
Owner

timholy commented Oct 21, 2024

Many thanks!

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

Successfully merging this pull request may close these issues.

3 participants