Metadata-Version: 2.1
Name: PlotSpectrumNiceAndEasy
Version: 0.0.2
Summary: It is a Python library for build a very nice spectrum and theory lines of elements. But you can plot an other plots. It is an extension of the matplotlib library
Home-page: https://github.com/89605502155/PlotSpectrumNiceAndEasy
Author: Andrey Ferubko
Author-email: ferubko1999@yandex.ru
License: GNU General Public License v3.0
Download-URL: https://github.com/89605502155/PlotSpectrumNiceAndEasy/archive/v0.0.2.zip
Platform: UNKNOWN
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Programming Language :: Python :: Implementation :: CPython
Description-Content-Type: text/markdown
License-File: LICENSE

# PlotSpectrumNiceAndEasy

![PyPI](https://img.shields.io/pypi/v/PlotSpectrumNiceAndEasy?color=orange) ![Python 3.8, 3.9, 3.10, 3.11, 3.12](https://img.shields.io/pypi/pyversions/PlotSpectrumNiceAndEasy?color=blueviolet) ![GitHub Pull Requests](https://img.shields.io/github/issues-pr/89605502155/PlotSpectrumNiceAndEasy?color=blueviolet) ![License](https://img.shields.io/pypi/l/PlotSpectrumNiceAndEasy?color=blueviolet) ![Forks](https://img.shields.io/github/forks/89605502155/PlotSpectrumNiceAndEasy?style=social)

**PlotSpectrumNiceAndEasy** - this module is a Python library for the N-PLS1 regression with L2-regularization.


## Installation

Install the current version with [PyPI](https://pypi.org/project/):

```bash
pip install PlotSpectrumNiceAndEasy
```
Ubuntu:
```
pip3 install PlotSpectrumNiceAndEasy
```
Or from Github:
```bash
pip install https://github.com/89605502155/PlotSpectrumNiceAndEasy/main.zip
```

## Usage

You can plot a very nice spectrum and theory lines of elements. But you can plot an other plots like this. It is an extension of the matplotlib library.

```python
from PlotSpectrumNiceAndEasy import PlotSpectrumNiceAndEasy

a=[1,2,3,4,5,6,7]
b=[0.02,2,-5,0,9,6,1]
model=PlotSpectrumNiceAndEasy(name_plot="Spectrum",save_name="test_plot",y_name="Intensity",x_name="lambda, nm")
result=model.main(a,b,save=True,Pb=[1,1,0,5,"red"],Hf=[2,2,1,3,"orange"])
```

## Example

You can see an example of the plot in test_plot.png and test_plot.svg files on the repository of this library.



