From f375d34c486bc314b66668dabc660d7fc2c19d4c Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Mon, 6 Apr 2020 15:24:15 -0400 Subject: Fix BinaryView.show_graph_report API --- python/binaryview.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/python/binaryview.py b/python/binaryview.py index 7d06e3d6..80c3a5b9 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -5074,7 +5074,15 @@ class BinaryView(object): core.BNShowHTMLReport(self.handle, title, contents, plaintext) def show_graph_report(self, title, graph): - core.BNShowHTMLReport(self.handle, title, graph.handle) + """ + ``show_graph_report`` displays a :py:Class:`FlowGraph` object `graph` in a new tab with ``title``. + + :param title: Title of the graph + :type title: Plain text string title + :param graph: The graph you wish to display + :type graph: :py:Class:`FlowGraph` object + """ + core.BNShowGraphReport(self.handle, title, graph.handle) def get_address_input(self, prompt, title, current_address = None): if current_address is None: -- cgit v1.3.1