You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Possible text bug with fig.meca when plotting from a file #1367
Description of the problem
I think I may have run across a bug with fig.meca when attempting to plot from a file. Column names are being plotted in the bottom left corner, and the issue disappears when column names are removed from the file.
Not sure if we need to add a test for this (probably not), but I think we can close this in PyGMT v0.6.0 once we bump the minimum GMT version to 6.3.0, agree?
Activity
seisman commentedon Jul 3, 2021
It's not a bug. For text files with a header like
you have to tell GMT or PyGMT to skip the header.
seisman commentedon Jul 3, 2021
@PaulWessel I'm wondering if
mecacan be more clever about these headers.You can run the following command to reproduce the issue. You will see the "header line" appear at the lower left corner of the map:
But, it seems
plotcan skip the header line quietly.seisman commentedon Jul 3, 2021
This is caused by an upstream issue and has been fixed by GenericMappingTools/gmt#5427.
weiji14 commentedon Oct 13, 2021
So running
conda install -c conda-forge/label/dev gmt=6.3.0or building GMT from source (see https://github.com/GenericMappingTools/gmt/blob/master/BUILDING.md) should allow users to get the patched version of GMT.Not sure if we need to add a test for this (probably not), but I think we can close this in PyGMT v0.6.0 once we bump the minimum GMT version to 6.3.0, agree?
seisman commentedon Jan 4, 2022
I think we can close the issue without adding a test.