Skip to content

Commit 69e7192

Browse files
Gasoonjiafacebook-github-bot
authored andcommitted
fix tabular output (#10246)
Summary: Pull Request resolved: #10246 Differential Revision: D73146928
1 parent 17cbef5 commit 69e7192

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

docs/source/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@
211211
"build-run-qualcomm-ai-engine-direct-backend": "backends-qualcomm.html",
212212
"build-run-xtensa": "backends-cadence.html",
213213
"apple-runtime": "using-executorch-ios.html",
214-
"tutorials/devtools-integration-tutorial": "../using-executorch-troubleshooting.html",
215214
}
216215

217216
# Custom directives defintions to create cards on main landing page

docs/source/tutorials_source/devtools-integration-tutorial.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,19 @@ def forward(self, x):
201201
# sphinx_gallery_end_ignore
202202
inspector.print_data_tabular()
203203

204+
import matplotlib.image as mpimg
205+
206+
# sphinx_gallery_start_ignore
207+
# Display the actural inspector tabular table image
208+
import matplotlib.pyplot as plt
209+
210+
# Load and display the image
211+
img = mpimg.imread("inspector_tabular.png")
212+
imgplot = plt.imshow(img)
213+
plt.axis("off") # Hide axes
214+
plt.show()
215+
# sphinx_gallery_end_ignore
216+
204217
# sphinx_gallery_start_ignore
205218
inspector_patch.stop()
206219
inspector_patch_print.stop()
789 KB
Loading

0 commit comments

Comments
 (0)