Skip to content
Snippets Groups Projects
Commit 75dc1c36 authored by nugget's avatar nugget
Browse files

Imports with absolute paths.

parent d6c2925e
No related branches found
No related tags found
3 merge requests!12v.0.1 for alpha release,!11Draft: Merge version0.1 changes into dev,!10Version0.1
Pipeline #735308 passed
This commit is part of merge request !11. Comments created here will be created in the context of that merge request.
......@@ -3,7 +3,7 @@
Create an identifier to print it on a plot.
Functions:
create_id(int) -> string
create_id(str) -> string
"""
import time
import uuid
......
......@@ -11,8 +11,8 @@ the function publish.
import numpy as np
# import h5py as h5
import matplotlib.pyplot as plt
from plotid.tagplot import tagplot
from plotid.publish import publish
from src.plotid.tagplot import tagplot
from src.plotid.publish import publish
# %% Set Project ID
PROJECT_ID = "MR04_"
......
......@@ -15,7 +15,7 @@ import os
import shutil
import sys
import warnings
import plotid.save_plot as save_plot
from src.plotid.save_plot import save_plot
def publish(src_datapath, dst_path, figure, plot_name, data_storage):
......
......@@ -11,8 +11,8 @@ Functions:
"""
import warnings
from plotid.plotoptions import PlotOptions
from plotid.tagplot_matplotlib import tagplot_matplotlib
from src.plotid.plotoptions import PlotOptions
from src.plotid.tagplot_matplotlib import tagplot_matplotlib
def tagplot(figs, engine, prefix='', id_method='time', location='east'):
......
......@@ -8,8 +8,8 @@ Functions:
import matplotlib
import matplotlib.pyplot as plt
import plotid.create_id as create_id
from plotid.plotoptions import PlotOptions
import src.plotid.create_id as create_id
from src.plotid.plotoptions import PlotOptions
def tagplot_matplotlib(plotid_object):
......
......@@ -7,8 +7,8 @@ Unittests for TagPlot_matplotlib
import unittest
import matplotlib.pyplot as plt
from matplotlib.figure import Figure
from tagplot_matplotlib import tagplot_matplotlib
from plotoptions import PlotOptions
from src.plotid.tagplot_matplotlib import tagplot_matplotlib
from src.plotid.plotoptions import PlotOptions
FIG1 = plt.figure()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment