Comments (4)
Here is how to do this in two lines while maintaining compatibility with ParaView < 5.10:
try: thresholdFilter.ThresholdRange = [1, 2]
except: thresholdFilter.LowerThreshold = 1; thresholdFilter.UpperThreshold = 2; thresholdFilter.ThresholdMethod = 'Between'
from ttk-data.
@julien-tierny
we are discussing how we should handle this. We either support only <5.10 or >=5.10. If we use Lutz's approach we handle both, but end users might be confused about this code snippet appearing all over the place. What is your opinion?
from ttk-data.
Another solution could be to provide two Python scripts where needed, and have two tabs "PV<5.10" and "PVā„5.10". (https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/)
from ttk-data.
This has been fixed during last winter hackathon.
from ttk-data.
Related Issues (9)
- Clone fails: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access. HOT 1
- No ttkSurfaceGeometrySmoother examples
- Nested Tracking Graph example does not work HOT 4
- ttk-data PR #21 is broken with ttk:dev (PR #304) HOT 4
- ttk PR#424 breaks geometryApproximation
- [Broken example] ContourAroundPoint HOT 12
- Python state files incompatible with ParaView 5.8 HOT 2
- Dragon state on ParaView master HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ttk-data.