docs(examples): fix multiple example notebooks - #2811
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2811 +/- ##
===========================================
+ Coverage 55.5% 73.3% +17.7%
===========================================
Files 644 659 +15
Lines 124135 132182 +8047
===========================================
+ Hits 68947 96908 +27961
+ Misses 55188 35274 -19914 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Close #2808 and fix some other example notebook failures
grid_intersection_example.py: removed leading# %%before the YAML front-matter, which was causing jupytext to fail to parse and consequently fail to auto-detect a kernelfeat_working_stack_examples.py: changedf_flux.groupby(lambda x: x.split("_")[-1], axis=1)→df_flux.T.groupby(lambda x: x.split("_")[-1]), since pandas 3.0 removed theaxisparameter fromDataFrame.groupby()plot_map_view_example.pyandplot_cross_section_example.py: these used to use PyCharm-style cell markers until chore(dependencies): update conda environment #2414, but that PR missed a few# +lines that now have no matching closing markers. Jupytext's light-format parser swallows everything after these into one giant cell until it processes some markdown further down that superficially looks like another# +marker, which messes up the notebook's cell rendering.