Skip to content

Commit 823e363

Browse files
committed
use return_fig=True
1 parent e9f6e43 commit 823e363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/docs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ on the *Play* :fa:`play` button or move the sliders.
149149
learner = adaptive.LearnerND(sphere, bounds=[(-1, 1), (-1, 1), (-1, 1)])
150150
adaptive.runner.simple(learner, lambda l: l.npoints == 5000)
151151

152-
fig = learner.plot_3D()
152+
fig = learner.plot_3D(return_fig=True)
153153

154154
# Remove a slice from the plot to show the inside of the sphere
155155
scatter = fig.data[0]

0 commit comments

Comments
 (0)