Skip to content

Conversation

@PaulWessel
Copy link
Member

See pyGMT post for discussion.

@seisman, please see if this works as expected - I am of for Xmas dinner...

Since the input to ternary may be read-only data we do not want ternary to change it in the calling environbment.  This PR does the duplication inside ternary
@PaulWessel PaulWessel added the maintenance Boring but important stuff for the core devs label Dec 24, 2022
@PaulWessel PaulWessel added this to the 6.5.0 milestone Dec 24, 2022
@PaulWessel PaulWessel requested a review from seisman December 24, 2022 14:33
@PaulWessel PaulWessel self-assigned this Dec 24, 2022
@PaulWessel
Copy link
Member Author

The PyGMT team may wish to check what other modules modify input. I do not think we will rewrite all modules to internally do this though, in that case simpler to pass the DUPLICATE flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants