Comments (3)
I was adding a hidden cell that sets this globally for each page. But this deserves a fix in PyGMT.
from harmonica.
Ah yes, I recently came across this and forgot to fix it here. The problem is that PyGMT tries to guess if we're in a notebook and sets the display of images only if it things we're in one. But since we set the external display to off when running the gallery, it turned off all displays. This is the offending line https://github.com/GenericMappingTools/pygmt/blob/main/pygmt/figure.py#L47
from harmonica.
Thanks for pointing to that line @leouieda. I've created a patch for this by explicitly setting method="notebook"
in the user guide (#474). But maybe we can set this through a env var? Or maybe this deserves opening an issue in PyGMT adding an envvar to control this.
from harmonica.
Related Issues (20)
- Equivalent sources specifically for magnetic data HOT 1
- Clarify project overview
- Significant differences in topography free gravity disturbance when extending the dem by 156km beyond the gravity data HOT 4
- Filter reduction_to_pole works only with "northing", "easting" coordinate names HOT 1
- Source magnetization direction should not be optional in reduction to the pole
- Issue with prism_magnetic - unwanted asymmetry in solution HOT 6
- Add functions to calculate admittance and coherence flexural properties of the lithosphere HOT 2
- Change the shape of the magnetization in magnetic forward functions
- Merge magnetic forward functions into a single one
- Replace `color` for `fill` in PyGMT plots
- Update magnetic forward functions for dipoles
- Raise error when GRD file is corrupted HOT 1
- Inverted sign in upward derivative filter HOT 1
- Total gradient amplitude transformation HOT 7
- Attributes with trailing underscore are not properly shown in docs
- IGRF calculation HOT 8
- Compute total field anomaly from magnetic field components HOT 1
- Fix equivalent sources citation
- Extend new default value for `depth` to gradient boosted equivalent sources
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from harmonica.