Commit 947da531 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Rename the class Graph2 as Graph.

parent 193c623d
......@@ -6,7 +6,7 @@ import urllib
from plugin_dbui import INLINE_ALERT
from plugin_event import Graph2, List, Metric2D2, ReportException
from plugin_event import Graph, List, Metric2D2, ReportException
def grid():
......@@ -51,7 +51,7 @@ def metric2d():
report = Metric2D2(request.vars.id_metric2d)
graph = Graph2(report)
graph = Graph(report)
title = report.get_title()
if extension == "html":
......@@ -46,7 +46,7 @@ from report_objects import (do_title,
from report_tools import (Graph2,
from report_tools import (Graph,
......@@ -166,7 +166,7 @@ class BaseReport(object):
return "%s: %s" % (title, " / ".join(metadata))
class Graph2(object):
class Graph(object):
"""Transform a DataFrame into a graph.
The rendering is performed by the matplotlib library. Therefore, many
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