adopt-plot 0.2.9__tar.gz → 0.2.11__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: adopt-plot
3
- Version: 0.2.9
3
+ Version: 0.2.11
4
4
  Summary: A universal plotter for implicit functions using adaptive engine selection.
5
5
  Author: VartRusData
6
6
  License: BSD 3-Clause
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "adopt-plot"
7
- version = "0.2.9"
7
+ version = "0.2.11"
8
8
  description = "A universal plotter for implicit functions using adaptive engine selection."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -170,8 +170,8 @@ class AdoptPlot:
170
170
  return
171
171
  else:
172
172
  raise TooManyVariablesError(
173
- f"adopt_plot поддерживает только 2D-графики. Получено {len(self.vars_list)} переменных: {self.vars_list}. "
174
- f"Если вам нужен 3D-график, подождите следующей версии!"
173
+ f"adopt_plot supports only 2D plots. Received {len(self.vars_list)} variables: {self.vars_list}. "
174
+ f"If you need a 3D plot, wait for the next version!"
175
175
  )
176
176
 
177
177
 
@@ -428,19 +428,19 @@ class AdoptPlot:
428
428
 
429
429
 
430
430
  def add_plot(self, other):
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)
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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: adopt-plot
3
- Version: 0.2.9
3
+ Version: 0.2.11
4
4
  Summary: A universal plotter for implicit functions using adaptive engine selection.
5
5
  Author: VartRusData
6
6
  License: BSD 3-Clause
File without changes
File without changes
File without changes