qmlmathplot 0.4.2__tar.gz → 0.4.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/PKG-INFO +6 -3
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/README.md +5 -2
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/pyproject.toml +1 -1
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/pyproject.toml.orig +1 -1
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/model.py +7 -1
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/__init__.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/__main__.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/animation.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/app.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/camera.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/canvas.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/curve.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/export.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/figure.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/input.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/interval.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/mpl.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/overlay.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/plot.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/pyplot.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/qml/PlotCurves.qml +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/qml/PlotFurniture.qml +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/qml/PlotInput.qml +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/qml/PlotLegend.qml +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/qml/PlotOverlay.qml +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/qml/PlotView.qml +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/qsb.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/LICENSE.matplotlib +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/README.md +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/Solarize_Light2.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/bmh.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/classic.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/dark_background.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/default.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/fast.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/fivethirtyeight.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/ggplot.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/grayscale.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/petroff10.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-bright.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-colorblind.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-dark-palette.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-dark.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-darkgrid.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-deep.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-muted.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-notebook.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-paper.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-pastel.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-poster.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-talk.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-ticks.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-white.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-whitegrid.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/tableau-colorblind10.mplstyle +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/view.py +0 -0
- {qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/widget.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: qmlmathplot
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: Embeddable function plotter for Qt Quick / QtWidgets (implicit per-pixel drawing, MVVM)
|
|
5
5
|
Author: I-AM-A-NOOB
|
|
6
6
|
Author-email: I-AM-A-NOOB <suzc08@outlook.com>
|
|
@@ -281,8 +281,11 @@ corner is in the domain and no pole factor changes sign between them; the edge c
|
|
|
281
281
|
interpolated and the cell's contour segment is stroked (the saddle case is paired using the cell
|
|
282
282
|
centre's sign). The first-order/Newton path still supplies the sub-pixel width; the cell term
|
|
283
283
|
adds the coverage of a thin or tangent branch whose centre projection fails. A **singular cell**
|
|
284
|
-
(`|Fx| + |Fy| < 1e-3` in world units,
|
|
285
|
-
such as `x**2 + y**2 = 0` is not left to the projection alone.
|
|
284
|
+
(`|Fx| + |Fy| < 1e-3` in world units, `|F| < 0.05`, **and** `|F| < R·|grad F|` in pixels) gets
|
|
285
|
+
a small disc, so an isolated point such as `x**2 + y**2 = 0` is not left to the projection alone.
|
|
286
|
+
The last test is the scale-invariant one: it requires the point to be on the set to first order,
|
|
287
|
+
so a scaled expression such as `(x+y)/(x·y)` — whose F and gradient are tiny far from its line —
|
|
288
|
+
no longer fills whole quadrants with the disc.
|
|
286
289
|
|
|
287
290
|
Still not ported: GGB's Bernstein subdivision (**polynomial-only**), its adaptive quad-tree
|
|
288
291
|
refinement and the `ContourAssembler`/`ContourLinker` (they exist to produce a selectable vector
|
|
@@ -268,8 +268,11 @@ corner is in the domain and no pole factor changes sign between them; the edge c
|
|
|
268
268
|
interpolated and the cell's contour segment is stroked (the saddle case is paired using the cell
|
|
269
269
|
centre's sign). The first-order/Newton path still supplies the sub-pixel width; the cell term
|
|
270
270
|
adds the coverage of a thin or tangent branch whose centre projection fails. A **singular cell**
|
|
271
|
-
(`|Fx| + |Fy| < 1e-3` in world units,
|
|
272
|
-
such as `x**2 + y**2 = 0` is not left to the projection alone.
|
|
271
|
+
(`|Fx| + |Fy| < 1e-3` in world units, `|F| < 0.05`, **and** `|F| < R·|grad F|` in pixels) gets
|
|
272
|
+
a small disc, so an isolated point such as `x**2 + y**2 = 0` is not left to the projection alone.
|
|
273
|
+
The last test is the scale-invariant one: it requires the point to be on the set to first order,
|
|
274
|
+
so a scaled expression such as `(x+y)/(x·y)` — whose F and gradient are tiny far from its line —
|
|
275
|
+
no longer fills whole quadrants with the disc.
|
|
273
276
|
|
|
274
277
|
Still not ported: GGB's Bernstein subdivision (**polynomial-only**), its adaptive quad-tree
|
|
275
278
|
refinement and the `ContourAssembler`/`ContourLinker` (they exist to produce a selectable vector
|
|
@@ -1287,8 +1287,14 @@ void main() {
|
|
|
1287
1287
|
// such as x² + y² = 0 is not left to the projection alone.
|
|
1288
1288
|
// GGB measures the singular cell in *world* derivative units (|Fx| + |Fy| < 0.001);
|
|
1289
1289
|
// the per-pixel gradient of an ordinary circle is ~0.01 and must not qualify.
|
|
1290
|
+
// The distance gate is essential for a scaled expression: (x+y)/(x*y) has |F| < 0.05 and
|
|
1291
|
+
// |Fx|+|Fy| < 0.001 over huge regions around ±50, although the level set is far away. A
|
|
1292
|
+
// singular point must also be *on* the set to the first order: |F| ~ R*|grad F|. The
|
|
1293
|
+
// ratio is scale-invariant, unlike the two absolute thresholds above.
|
|
1290
1294
|
float gw_s = abs(FX(x, y)) + abs(FY(x, y));
|
|
1291
|
-
|
|
1295
|
+
float gnorm_s = max(sqrt(gx * gx + gy * gy), 1e-9);
|
|
1296
|
+
if (dom && (f == f) && (abs(f) < 1e30) && gw_s < 1e-3 && abs(f) < 0.05
|
|
1297
|
+
&& abs(f) < R * gnorm_s) {
|
|
1292
1298
|
march_cov = 1.0;
|
|
1293
1299
|
}
|
|
1294
1300
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-colorblind.mplstyle
RENAMED
|
File without changes
|
{qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-dark-palette.mplstyle
RENAMED
|
File without changes
|
|
File without changes
|
{qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-darkgrid.mplstyle
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-notebook.mplstyle
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/seaborn-v0_8-whitegrid.mplstyle
RENAMED
|
File without changes
|
|
File without changes
|
{qmlmathplot-0.4.2 → qmlmathplot-0.4.3}/src/qmlmathplot/themes/tableau-colorblind10.mplstyle
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|