Skip to content
Snippets Groups Projects
Commit 7e27a622 authored by Jean-Baptiste Keck's avatar Jean-Baptiste Keck
Browse files

fix matplotlib import

parent 99cdd23b
No related branches found
No related tags found
1 merge request!16MPI operators
import sys
import numpy as np
from matplotlib import pyplot as plt
from hysop.tools.types import check_instance
class AutotunedKernelStatistics(dict):
......@@ -56,6 +55,7 @@ class AutotunedKernelStatistics(dict):
self.plot_histogram()
def plot_histogram(self):
from matplotlib import pyplot as plt
run_times = self.run_times.copy()
for unit in ('ns', 'us', 'ms', 's'):
if run_times.min() < 1e2:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment