mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-05-17 23:36:55 +00:00
Removed matplotlib dependency.
This commit is contained in:
parent
0e9c48f426
commit
449c56c85e
1
.github/workflows/python-publish.yml
vendored
1
.github/workflows/python-publish.yml
vendored
|
@ -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 }}
|
||||
|
|
|
@ -14,7 +14,6 @@ classifiers = [
|
|||
]
|
||||
dependencies = [
|
||||
"h5py",
|
||||
"matplotlib",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
|
@ -24,7 +23,6 @@ requires = [
|
|||
"Cython",
|
||||
"h5py",
|
||||
"numpy",
|
||||
'matplotlib',
|
||||
]
|
||||
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue