commit 1c3aa0900d485e3aa381a0fddbf3df81ac99eccc Author: Karsten Loesing karsten.loesing@gmx.net Date: Fri May 29 09:38:56 2020 +0200
Remove pandas future warning.
Fixes #34261. --- onionperf/visualization.py | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/onionperf/visualization.py b/onionperf/visualization.py index a4b2a47..c187cb6 100644 --- a/onionperf/visualization.py +++ b/onionperf/visualization.py @@ -10,6 +10,7 @@ import time from abc import abstractmethod, ABCMeta import matplotlib.pyplot as plt import pandas as pd +from pandas.plotting import register_matplotlib_converters import seaborn as sns import datetime import numpy as np @@ -18,6 +19,7 @@ class Visualization(object, metaclass=ABCMeta):
def __init__(self): self.datasets = [] + register_matplotlib_converters()
def add_dataset(self, analysis, label): self.datasets.append((analysis, label))