-
Notifications
You must be signed in to change notification settings - Fork 229
Figure.legend: Support passing a StringIO object as the legend specification #3438
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
Merged
Merged
Changes from 38 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
5e22d55
Add the Session.virtualfile_from_stringio function to support StringI…
seisman f75844e
Let virtualfile_in support the stringio kind
seisman 50467b5
Make data_kind support stringio
seisman 14a14e9
Refactor Figure.legend to support stringio
seisman 37c3c2f
Add a legend test for StringIO input
seisman 4e2e545
Merge branch 'main' into api/virtualfile-from-stringio
seisman 8e1a609
Some updates
seisman 55d6e81
Merge branch 'main' into api/virtualfile-from-stringio
seisman b3b2cb9
Merge branch 'main' into api/virtualfile-from-stringio
seisman 89757ec
Fix styling issue
seisman 0489783
Merge branch 'main' into api/virtualfile-from-stringio
seisman 791e4f6
Merge branch 'main' into api/virtualfile-from-stringio
seisman 5f4d21f
Updates
seisman 1a2d336
Merge branch 'main' into api/virtualfile-from-stringio
seisman 3682098
Improve Figure.legend
seisman 21b2496
Merge branch 'main' into api/virtualfile-from-stringio
seisman 146e430
Fix legend
seisman c589a40
Updates
seisman ff90b2e
Figure.legend: Refactor to simplify the logic of checking legend spec…
seisman 90455c1
Merge remote-tracking branch 'origin/refactor/legend' into api/virtua…
seisman 4e4bd2d
FIx
seisman deb917d
Revert changes in legend
seisman 49fa805
Merge branch 'main' into api/virtualfile-from-stringio
seisman 97bbe05
Merge branch 'main' into api/virtualfile-from-stringio
seisman dece315
Improve docstrings
seisman 486fce7
Support mutli-segment stringio input
seisman 021a97a
Revert "Support mutli-segment stringio input"
seisman f6da405
Remove the leading '>' from header
seisman 824d861
Also need to set the header pointer to None
seisman 640e9a9
Support mutli-segment stringio input
seisman 3161963
Update docstrings
seisman 026f6e4
Fix a bug in n_rows
seisman 850337e
Add some tests
seisman ed20118
Fix static type checking
seisman f1b5f08
Improve the tests
seisman dfab3c7
Figure.legend: Support passing a StringIO object as the legend specif…
seisman e10cef6
Simplify the checking of segment header
seisman ba631c3
Merge branch 'api/virtualfile-from-stringio' into legend/stringio
seisman 045d4b9
Update pygmt/tests/test_legend.py
seisman 22d4d55
Merge branch 'main' into api/virtualfile-from-stringio
seisman 9770e52
Merge branch 'api/virtualfile-from-stringio' into legend/stringio
seisman 8cc5804
Merge branch 'main' into legend/stringio
seisman c4e9593
Merge branch 'main' into legend/stringio
seisman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.