From f058f4d0382d144bd97d389d43bba2e1f5972db2 Mon Sep 17 00:00:00 2001 From: matteo Date: Thu, 12 Sep 2019 14:25:03 +0200 Subject: [PATCH] fix travis --- DataPlotly/core/plot_factory.py | 1 - DataPlotly/layouts/plot_layout_item.py | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/DataPlotly/core/plot_factory.py b/DataPlotly/core/plot_factory.py index bb283b4e..0f3dfcb9 100644 --- a/DataPlotly/core/plot_factory.py +++ b/DataPlotly/core/plot_factory.py @@ -10,7 +10,6 @@ import tempfile import os -import platform import re import plotly import plotly.graph_objs as go diff --git a/DataPlotly/layouts/plot_layout_item.py b/DataPlotly/layouts/plot_layout_item.py index 40fad680..8ef4fe5b 100644 --- a/DataPlotly/layouts/plot_layout_item.py +++ b/DataPlotly/layouts/plot_layout_item.py @@ -106,7 +106,7 @@ def draw(self, context): def create_plot(self): factory = PlotFactory(self.plot_settings) - config = { 'displayModeBar': False, 'staticPlot': True } + config = {'displayModeBar': False, 'staticPlot': True} return factory.build_html(config) def load_content(self): @@ -136,8 +136,6 @@ def refresh(self): self.invalidateCache() - - class PlotLayoutItemMetadata(QgsLayoutItemAbstractMetadata): def __init__(self):