Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion docs/_ext/drawio-lazy.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
viewer(),
]);
element.setAttribute("data-mxgraph", JSON.stringify({
xml, resize: true, fit: true, nav: false, lightbox: false, toolbar: "",
xml, resize: true, fit: true, nav: false, lightbox: true,
toolbar: "zoom lightbox", "toolbar-nohide": true, editable: false,
}));
element.replaceChildren();
window.GraphViewer.createViewerForElement(element);
Expand Down
4 changes: 3 additions & 1 deletion docs/cheatsheet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ They say don't change a winning team. With UltraPlot we use Matplotlib's object
add to it essential quality of life improvements to make high quality publication ready plots.
To highlight the capabilities in a bird's eye view, we have included a few Matplotlib style cheat sheets below.

Use the expand icon in each sheet's toolbar to open a full-screen view, then
zoom in to read the details. Press :kbd:`Esc` or use the close icon to return.


================
General Overview
Expand Down Expand Up @@ -44,4 +47,3 @@ Expert
======
.. drawio:: ../tools/cheatsheet/ultraplot_cheatsheet.drawio
:page: Advanced · specialist tools

4 changes: 4 additions & 0 deletions tools/cheatsheet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ Failed downloads show a retry button. Without JavaScript, a link to the source
XML remains available. This does not change the editable diagram or require
exporting previews through the draw.io desktop application.

Each rendered sheet has an always-visible zoom and expand toolbar. The expand
control opens the viewer's full-screen lightbox, where readers can zoom and pan
the diagram; Escape or the close control returns to the documentation page.

Run the extension integration tests with:

```bash
Expand Down
Loading