Commit 631a2de9 authored by Andrea Lorenzon's avatar Andrea Lorenzon 💬
Browse files

added title to series plot

parent c9a53927
Pipeline #1577 failed with stages
......@@ -112,11 +112,11 @@ def extract_dataset(folder: str, filename: str, required_dataset: str):
:param required_dataset: full path of the required dataset: "/entry/.../..."
:return: numpy.array with the required data
fullpath = folder + filename
full_path = folder + filename
import numpy as np
with h5py.File(fullpath, "r") as f:
# print("opened file "+fullpath)
with h5py.File(full_path, "r") as f:
# print("opened file "+full_path)
for dataset_name, dataset in h5py_dataset_iterator(f):
# print("checking if "+dataset_name+" matches required dataset")
if required_dataset == dataset_name:
......@@ -107,7 +107,7 @@ def plot_2d_series(x: numpy.ndarray, y: numpy.ndarray, ds_name='') -> dict:
""" creates a bokeh plot from a 2D figure
:param y: values of the series
:param x: x axis of the serie (time?)
:param x: x axis of the series (time?)
:param ds_name: title of the plot
:return: a bokeh figure
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment