Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e708414
Add Figure.legend() wrapper
liamtoney Dec 31, 2018
60f1b73
Implement handles/labels functionality for Figure.legend()
liamtoney Jan 2, 2019
03fbff8
Merge branch 'master' of https://github.com/GenericMappingTools/gmt-p…
liamtoney Jan 18, 2019
8a19632
Merge branch 'master' of https://github.com/GenericMappingTools/gmt-p…
liamtoney Jan 28, 2019
826318e
Merge branch 'master' of https://github.com/GenericMappingTools/pygmt…
liamtoney Mar 1, 2019
ae6335b
Merge with pygmt master
liamtoney Jul 5, 2019
a6771a1
Use extlinks for legend docstring
liamtoney Jul 5, 2019
69f327e
Merge branch 'master' of https://github.com/GenericMappingTools/pygmt…
liamtoney Oct 8, 2019
95d170d
Hack to allow rc2
liamtoney Oct 8, 2019
cddf2cf
Add test for legend
liamtoney Oct 8, 2019
a57dec3
Revert "Hack to allow rc2"
liamtoney Oct 10, 2019
2ddec23
Merge branch 'master' of https://github.com/GenericMappingTools/pygmt…
liamtoney Oct 10, 2019
da4569c
Use aliases for D and F args
liamtoney Oct 10, 2019
1b07abb
Simplify data_kind() call
liamtoney Oct 10, 2019
88addf7
Flesh out documentation
liamtoney Oct 10, 2019
24330cd
Merge branch 'master' of https://github.com/GenericMappingTools/pygmt…
liamtoney Oct 24, 2019
3a18c63
Alias label (l) for plot
weiji14 Oct 25, 2019
c628f27
Merge pull request #1 from weiji14/plot/alias_label
liamtoney Oct 29, 2019
391e710
Merge branch 'master' into add-legend
liamtoney Oct 29, 2019
a514b59
Use GMT's auto-legend feature instead of regex
liamtoney Oct 29, 2019
519e383
Remove unused GMTTempFile import
liamtoney Oct 29, 2019
9130f47
Revise first legend test
liamtoney Oct 29, 2019
52ae8ee
Add legend entries test
liamtoney Oct 29, 2019
58dba31
Add legend specfile test
liamtoney Oct 29, 2019
f44e98e
Add failing test
liamtoney Oct 31, 2019
e737ca8
Add legend to index.rst
liamtoney Oct 31, 2019
557149d
Remove unneeded decorator
liamtoney Oct 31, 2019
850a96a
Merge branch 'master' into add-legend
weiji14 Oct 31, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Simplify data_kind() call
  • Loading branch information
liamtoney committed Oct 10, 2019
commit 1b07abbfb2c8d6cc53c0a3468884a0b025c45d8b
2 changes: 1 addition & 1 deletion pygmt/base_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def legend(self, spec, **kwargs):
"""
kwargs = self._preprocess(**kwargs)
with Session() as lib:
kind = data_kind(spec, None, None, None)
kind = data_kind(spec)
with GMTTempFile() as tmp:
if kind == "file":
specfile = spec
Expand Down