Skip to content

Comments

Limit spatial patch filtering to plots with 2d items#322

Open
kbarnhart wants to merge 1 commit intoclawpack:masterfrom
kbarnhart:xylimit_filter_1dplots
Open

Limit spatial patch filtering to plots with 2d items#322
kbarnhart wants to merge 1 commit intoclawpack:masterfrom
kbarnhart:xylimit_filter_1dplots

Conversation

@kbarnhart
Copy link
Contributor

@rjleveque -

I found in my current applications of 1d_from_2d_data items that data from some patches are not being plotted when x and y limits are specified because if skip_patches_outside_xylimits is not set, it will get set to False by this code block.

I am sure there is a better way to go about addressing this, but to prompt discussion, I have made a crude attempt.

Specifically, I loop through all plotitems and if any of them are of type 1d, then skip_patches_outside_xylimits is set to False.

I'm happy to adjust based on suggestions.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant