Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 68ca1a5

Browse filesBrowse files
committed
Make figure larger. Print address to console.
1 parent d7c08fb commit 68ca1a5
Copy full SHA for 68ca1a5

File tree

Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed

‎examples/user_interfaces/embedding_webagg.py

Copy file name to clipboardExpand all lines: examples/user_interfaces/embedding_webagg.py
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def create_figure():
3333
"""
3434
Creates a simple example figure.
3535
"""
36-
fig = Figure(figsize=(5, 4))
36+
fig = Figure()
3737
a = fig.add_subplot(111)
3838
t = np.arange(0.0, 3.0, 0.01)
3939
s = np.sin(2 * np.pi * t)
@@ -236,4 +236,8 @@ def __init__(self, figure):
236236

237237
http_server = tornado.httpserver.HTTPServer(application)
238238
http_server.listen(8080)
239+
240+
print("http://localhost:8080/")
241+
print("Press Ctrl+C to quit")
242+
239243
tornado.ioloop.IOLoop.instance().start()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.