summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2020-04-06 15:24:15 -0400
committerPeter LaFosse <peter@vector35.com>2020-04-06 15:24:23 -0400
commitf375d34c486bc314b66668dabc660d7fc2c19d4c (patch)
treee069aaa02917a9ab192e17135b0a2474319e44bb /python
parent7615b382cb800c37e63fc656269ddbe538e83255 (diff)
Fix BinaryView.show_graph_report API
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py10
1 files changed, 9 insertions, 1 deletions
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: