Configuration Reference
DifferentialLab reads configuration from .env in the project root.
Use
.env.exampleas template.Or use the in-app
Configurationdialog (recommended).On startup, values are validated against
ENV_SCHEMA(src/config/env.py).Invalid values are automatically replaced with defaults and logged.
How values are interpreted
bool: acceptstrue/false,1/0,yes/nointandfloat: parsed numerically with range checks where definedstr: non-empty; some keys enforce enumerated options
UI settings
Key |
Default |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tooltip settings
Key |
Default |
|---|---|
|
|
|
|
|
|
|
|
Tooltip font size is derived automatically from UI_FONT_SIZE:
tooltip_size = max(6, round(UI_FONT_SIZE * 0.5))There is no separate
.envkey for tooltip font size.
Plot settings
Layout and style
Key |
Default |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Markers
Key |
Default |
|---|---|
|
|
|
|
|
|
|
|
Phase-space and 3D/contour
Key |
Default |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Animation
Key |
Default |
|---|---|
|
|
|
|
|
|
|
|
|
|
Matplotlib font settings
Key |
Default |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Solver defaults
Key |
Default |
|---|---|
|
|
|
|
|
|
|
|
Supported methods in UI:
RK45RK23DOP853RadauBDFLSODA
Logging and update checks
Key |
Default |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Practical recommendations
Keep solver tolerances strict for stiff/nonlinear systems.
Lower
SOLVER_NUM_POINTSfor exploratory runs, increase for publication output.Keep
ANIMATION_MAX_FPSmoderate (20-30) to avoid UI saturation.Enable
LOG_CONSOLE=truewhile debugging.
Source of truth
If this page and runtime behavior differ, runtime behavior is authoritative.
The canonical schema lives in src/config/env.py (ENV_SCHEMA).