adopt-plot 0.2.9__tar.gz → 0.2.10__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.
- {adopt_plot-0.2.9/src/adopt_plot.egg-info → adopt_plot-0.2.10}/PKG-INFO +1 -1
- {adopt_plot-0.2.9 → adopt_plot-0.2.10}/pyproject.toml +1 -1
- {adopt_plot-0.2.9 → adopt_plot-0.2.10}/src/adopt_plot/plot.py +16 -16
- {adopt_plot-0.2.9 → adopt_plot-0.2.10/src/adopt_plot.egg-info}/PKG-INFO +1 -1
- {adopt_plot-0.2.9 → adopt_plot-0.2.10}/LICENSE +0 -0
- {adopt_plot-0.2.9 → adopt_plot-0.2.10}/README.md +0 -0
- {adopt_plot-0.2.9 → adopt_plot-0.2.10}/setup.cfg +0 -0
- {adopt_plot-0.2.9 → adopt_plot-0.2.10}/src/adopt_plot/__init__.py +0 -0
- {adopt_plot-0.2.9 → adopt_plot-0.2.10}/src/adopt_plot.egg-info/SOURCES.txt +0 -0
- {adopt_plot-0.2.9 → adopt_plot-0.2.10}/src/adopt_plot.egg-info/dependency_links.txt +0 -0
- {adopt_plot-0.2.9 → adopt_plot-0.2.10}/src/adopt_plot.egg-info/requires.txt +0 -0
- {adopt_plot-0.2.9 → adopt_plot-0.2.10}/src/adopt_plot.egg-info/top_level.txt +0 -0
|
@@ -428,19 +428,19 @@ class AdoptPlot:
|
|
|
428
428
|
|
|
429
429
|
|
|
430
430
|
def add_plot(self, other):
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
431
|
+
"""Добавляет график другой функции на этот же объект."""
|
|
432
|
+
# Копируем все обычные линии (например, y = x)
|
|
433
|
+
for line in other.ax.lines:
|
|
434
|
+
self.ax.add_line(line)
|
|
435
|
+
|
|
436
|
+
# Копируем все коллекции (контуры от plot_implicit)
|
|
437
|
+
for collection in other.ax.collections:
|
|
438
|
+
self.ax.add_collection(collection)
|
|
439
|
+
|
|
440
|
+
# Обновляем легенду, если она включена
|
|
441
|
+
if self.legend:
|
|
442
|
+
self.ax.legend()
|
|
443
|
+
|
|
444
|
+
# Обновляем границы осей, чтобы графики были видны
|
|
445
|
+
self.ax.set_xlim(self.xlims)
|
|
446
|
+
self.ax.set_ylim(self.ylims)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|