-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
35 lines (24 loc) · 945 Bytes
/
__init__.py
File metadata and controls
35 lines (24 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""
Chplot is a Python >= 3.9 module to plot any arbitrary mathematical expressions as well as data series from files, and compute its derivatives and integrals, where it equals zero, linear and non-linear regressions, and much more !
It is best used from the CLI, with 'python -m chplot', but it can also be used from a Python script:
```
import chplot
parameters = chplot.PlotParameters()
chplot.plot(parameters)
```
Check all the documentation on the github repo (https://github.com/charon25/Chplot).
"""
import logging
import sys
import warnings
import numpy as np
from chplot.rpn import compute_rpn_list, compute_rpn_unsafe, get_rpn_errors
from chplot.plot import plot, plottable
from chplot.plot.plot_parameters import PlotParameters, set_default_values
np.seterr('raise')
logging.basicConfig(
stream=sys.stdout,
level=logging.INFO,
format='[%(name)s] %(levelname)s: %(message)s'
)
warnings.filterwarnings("ignore")