diff --git a/literature/Горяинов В. Т., Журавлев А. Г., Тихонов В. И. Статистическая радиотехника: Примеры и задачи.pdf b/literature/Горяинов В. Т., Журавлев А. Г., Тихонов В. И. Статистическая радиотехника Примеры и задачи.pdf similarity index 100% rename from literature/Горяинов В. Т., Журавлев А. Г., Тихонов В. И. Статистическая радиотехника: Примеры и задачи.pdf rename to literature/Горяинов В. Т., Журавлев А. Г., Тихонов В. И. Статистическая радиотехника Примеры и задачи.pdf diff --git a/statapp/distribution_window.py b/statapp/distribution_window.py index b9f60b9..61acb69 100644 --- a/statapp/distribution_window.py +++ b/statapp/distribution_window.py @@ -1,3 +1,22 @@ +# +# Copyright (c) 2024 Maxim Slipenko, Eugene Lazurenko. +# +# This file is part of Statapp +# (see https://github.com/shizand/statapp). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# import numpy as np from PySide2.QtWidgets import QDialog, QVBoxLayout, QComboBox @@ -30,7 +49,7 @@ class DistributionWindow(QDialog): def onChange(self): - while ((child := self.l.takeAt(0)) != None): + while ((child := self.l.takeAt(0)) is not None): child.widget().deleteLater() self.sc = self.getSc(self.data[:, self.comboBox.currentIndex()]) self.l.addWidget(self.sc) diff --git a/statapp/docs/README.html b/statapp/docs/README.html index e703e57..93c6225 100644 --- a/statapp/docs/README.html +++ b/statapp/docs/README.html @@ -365,7 +365,7 @@ along with this program. If not, see .