Skip to content

Commit

Permalink
deploy: 305ebba
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Mar 5, 2024
0 parents commit 2a25729
Show file tree
Hide file tree
Showing 60 changed files with 5,129 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: ea2231386f3d6e36fc32a7a5d13fa057
tags: 645f666f9bcd5a90fca523b33c5a78b7
Empty file added .nojekyll
Empty file.
Binary file added _images/cheatsheets-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/cheatsheets-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/handout-beginner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/handout-intermediate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/handout-tips.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 66 additions & 0 deletions _sources/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
.. title:: Matplotlib cheatsheets

***********************************
Matplotlib cheatsheets and handouts
***********************************

Cheatsheets
***********

.. grid:: 2

.. grid-item::

.. image:: ../cheatsheets-1.png
:width: 270px
:align: center
:alt: image of first page of cheatsheets

.. grid-item::

.. image:: ../cheatsheets-2.png
:width: 270px
:align: center
:alt: image of second page of cheatsheets

`Cheatsheets [pdf] <./cheatsheets.pdf>`_



Handouts
********

.. grid:: 1 2 3 3

.. grid-item::

.. image:: ../handout-beginner.png
:width: 270px
:align: center
:alt: image of beginner handout

`Beginner [pdf] <./handout-beginner.pdf>`_

.. grid-item::

.. image:: ../handout-intermediate.png
:width: 270px
:align: center
:alt: image of intermediate handout

`Intermediate [pdf] <./handout-intermediate.pdf>`_

.. grid-item::

.. image:: ../handout-tips.png
:width: 270px
:align: center
:alt: image of tips handout

`Tips [pdf] <./handout-tips.pdf>`_

Contribute
**********

Issues, suggestions, or pull-requests gratefully accepted at
`matplotlib/cheatsheets <https://github.com/matplotlib/cheatsheets>`_

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions _sphinx_design_static/design-tabs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
var sd_labels_by_text = {};

function ready() {
const li = document.getElementsByClassName("sd-tab-label");
for (const label of li) {
syncId = label.getAttribute("data-sync-id");
if (syncId) {
label.onclick = onLabelClick;
if (!sd_labels_by_text[syncId]) {
sd_labels_by_text[syncId] = [];
}
sd_labels_by_text[syncId].push(label);
}
}
}

function onLabelClick() {
// Activate other inputs with the same sync id.
syncId = this.getAttribute("data-sync-id");
for (label of sd_labels_by_text[syncId]) {
if (label === this) continue;
label.previousElementSibling.checked = true;
}
window.localStorage.setItem("sphinx-design-last-tab", syncId);
}

document.addEventListener("DOMContentLoaded", ready, false);
Loading

0 comments on commit 2a25729

Please sign in to comment.