Removed matplotlib dependency.

This commit is contained in:
jupfi 2024-04-21 19:47:58 +02:00
parent 0e9c48f426
commit 449c56c85e
3 changed files with 1 additions and 9 deletions

View file

@ -57,6 +57,7 @@ jobs:
- name: Publish to PyPI
run: |
. ./venv/bin/activate
python -m twine upload --repository pypi --username __token__ --password ${{ secrets.PYPI }} dist/*
env:
PYPI: ${{ secrets.PYPI }}

View file

@ -14,7 +14,6 @@ classifiers = [
]
dependencies = [
"h5py",
"matplotlib",
]
[build-system]
@ -24,7 +23,6 @@ requires = [
"Cython",
"h5py",
"numpy",
'matplotlib',
]
build-backend = "setuptools.build_meta"

View file

@ -1,6 +1,5 @@
import h5py
import numpy as np
import matplotlib.pyplot as plt
# class for accessing data of stored HDF5 file this is from the limr program by andrin doll
class HDF():
@ -131,12 +130,6 @@ class HDF():
print('{:<5}: {:>50} {:<25}'.format(key, val, self.parsoutp[key][1]))
def plot_dta(self):
plt.plot(self.tdx, self.tdy.real)
plt.xlabel('$t$ [$\mu$s]')
plt.ylabel('$y$ [Counts]')
plt.show()
# empty class to store dynamic attributes, basically for the attributes in HDF keys
class dynclass:
pass