Skip to content

fix tabular output #10271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: gh/gasoonjia/12/base
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/source/tutorials_source/devtools-integration-tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,19 @@ def forward(self, x):
# sphinx_gallery_end_ignore
inspector.print_data_tabular()

import matplotlib.image as mpimg

# sphinx_gallery_start_ignore
# Display the actural inspector tabular table image
import matplotlib.pyplot as plt

# Load and display the image
img = mpimg.imread("inspector_tabular.png")
imgplot = plt.imshow(img)
plt.axis("off") # Hide axes
plt.show()
# sphinx_gallery_end_ignore

# sphinx_gallery_start_ignore
inspector_patch.stop()
inspector_patch_print.stop()
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading