ambivalent 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. ambivalent-0.0.1/.gitignore +166 -0
  2. ambivalent-0.0.1/.quarto1/_freeze/index/execute-results/html.json +15 -0
  3. ambivalent-0.0.1/.quarto1/_freeze/index/execute-results/md.json +10 -0
  4. ambivalent-0.0.1/.quarto1/_freeze/site_libs/clipboard/clipboard.min.js +7 -0
  5. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/highlight/highlight.esm.js +5 -0
  6. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/highlight/highlight.js +5 -0
  7. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/highlight/monokai.css +71 -0
  8. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/highlight/plugin.js +439 -0
  9. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/highlight/zenburn.css +80 -0
  10. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/markdown/markdown.esm.js +1 -0
  11. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/markdown/markdown.js +1 -0
  12. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/markdown/plugin.js +475 -0
  13. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/math/katex.js +96 -0
  14. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/math/math.esm.js +1 -0
  15. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/math/math.js +1 -0
  16. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/math/mathjax2.js +89 -0
  17. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/math/mathjax3.js +77 -0
  18. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/math/plugin.js +15 -0
  19. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/notes/notes.esm.js +1 -0
  20. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/notes/notes.js +1 -0
  21. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/notes/plugin.js +236 -0
  22. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/notes/speaker-view.html +884 -0
  23. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/pdf-export/pdfexport.js +111 -0
  24. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/pdf-export/plugin.yml +2 -0
  25. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/quarto-line-highlight/line-highlight.css +31 -0
  26. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/quarto-line-highlight/line-highlight.js +351 -0
  27. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/quarto-line-highlight/plugin.yml +4 -0
  28. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/quarto-support/footer.css +110 -0
  29. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/quarto-support/plugin.yml +5 -0
  30. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/quarto-support/support.js +290 -0
  31. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/README.md +160 -0
  32. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/LICENSE.txt +34 -0
  33. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/all.css +5 -0
  34. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/brands.css +5 -0
  35. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/fontawesome.css +5 -0
  36. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/regular.css +5 -0
  37. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/solid.css +5 -0
  38. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/svg-with-js.css +5 -0
  39. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/v4-shims.css +2170 -0
  40. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/v4-shims.min.css +5 -0
  41. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.eot +0 -0
  42. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.svg +1127 -0
  43. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.ttf +0 -0
  44. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.woff +0 -0
  45. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.woff2 +0 -0
  46. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.eot +0 -0
  47. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.svg +467 -0
  48. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.ttf +0 -0
  49. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.woff +0 -0
  50. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.woff2 +0 -0
  51. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.eot +0 -0
  52. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.svg +2231 -0
  53. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.ttf +0 -0
  54. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.woff +0 -0
  55. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.woff2 +0 -0
  56. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/blackboard.png +0 -0
  57. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-black.png +0 -0
  58. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-blue.png +0 -0
  59. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-green.png +0 -0
  60. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-orange.png +0 -0
  61. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-purple.png +0 -0
  62. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-red.png +0 -0
  63. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-yellow.png +0 -0
  64. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/chalk-blue.png +0 -0
  65. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/chalk-green.png +0 -0
  66. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/chalk-orange.png +0 -0
  67. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/chalk-purple.png +0 -0
  68. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/chalk-red.png +0 -0
  69. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/chalk-white.png +0 -0
  70. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/chalk-yellow.png +0 -0
  71. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/sponge.png +0 -0
  72. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/img/whiteboard.png +0 -0
  73. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/plugin.js +1976 -0
  74. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/plugin.yml +7 -0
  75. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-chalkboard/style.css +44 -0
  76. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-menu/menu.css +346 -0
  77. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-menu/menu.js +1 -0
  78. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-menu/plugin.yml +9 -0
  79. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-menu/quarto-menu.css +68 -0
  80. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/reveal-menu/quarto-menu.js +43 -0
  81. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/search/plugin.js +243 -0
  82. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/search/search.esm.js +7 -0
  83. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/search/search.js +7 -0
  84. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/zoom/plugin.js +264 -0
  85. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/zoom/zoom.esm.js +4 -0
  86. ambivalent-0.0.1/.quarto1/_freeze/site_libs/revealjs/plugin/zoom/zoom.js +4 -0
  87. ambivalent-0.0.1/.quarto1/idx/index.qmd.json +1 -0
  88. ambivalent-0.0.1/.quarto1/preview/lock +1 -0
  89. ambivalent-0.0.1/.quarto1/xref/6a36da7c +1 -0
  90. ambivalent-0.0.1/.quarto1/xref/8592cdb1 +1 -0
  91. ambivalent-0.0.1/.quarto1/xref/INDEX +8 -0
  92. ambivalent-0.0.1/.quarto1/xref/e21b3229 +1 -0
  93. ambivalent-0.0.1/.quarto1/xref/f2423047 +1 -0
  94. ambivalent-0.0.1/PKG-INFO +571 -0
  95. ambivalent-0.0.1/README.md +537 -0
  96. ambivalent-0.0.1/_format.yml +109 -0
  97. ambivalent-0.0.1/_quarto.yml +48 -0
  98. ambivalent-0.0.1/_reveal.yml +59 -0
  99. ambivalent-0.0.1/_website.yml +108 -0
  100. ambivalent-0.0.1/citation.cff +10 -0
  101. ambivalent-0.0.1/favicon.svg +5 -0
  102. ambivalent-0.0.1/index.qmd +450 -0
  103. ambivalent-0.0.1/notebooks/build_example_plots.ipynb +64579 -0
  104. ambivalent-0.0.1/notebooks/cleaned_build_example_plots.ipynb +1 -0
  105. ambivalent-0.0.1/notebooks/latest_python_build_example_plots.ipynb +1 -0
  106. ambivalent-0.0.1/notebooks/opinionated_trial_notebook.ipynb +474 -0
  107. ambivalent-0.0.1/preview.png +0 -0
  108. ambivalent-0.0.1/pyproject.toml +118 -0
  109. ambivalent-0.0.1/references.bib +135 -0
  110. ambivalent-0.0.1/src/ambivalent/__about__.py +1 -0
  111. ambivalent-0.0.1/src/ambivalent/__init__.py +132 -0
  112. ambivalent-0.0.1/src/ambivalent/build_example_plots.py +112 -0
  113. ambivalent-0.0.1/src/ambivalent/core.py +223 -0
  114. ambivalent-0.0.1/src/ambivalent/stylefiles/ambivalent.mplstyle +66 -0
  115. ambivalent-0.0.1/src/ambivalent/stylefiles/minimal-new.mplstyle +1 -0
  116. ambivalent-0.0.1/src/ambivalent/stylefiles/minimal.mplstyle +341 -0
  117. ambivalent-0.0.1/src/ambivalent/stylefiles/opinionated_fsc.mplstyle +67 -0
  118. ambivalent-0.0.1/src/ambivalent/stylefiles/opinionated_j.mplstyle +67 -0
  119. ambivalent-0.0.1/src/ambivalent/stylefiles/opinionated_m.mplstyle +67 -0
  120. ambivalent-0.0.1/src/ambivalent/stylefiles/opinionated_min.mplstyle +66 -0
  121. ambivalent-0.0.1/src/ambivalent/stylefiles/opinionated_rc.mplstyle +67 -0
  122. ambivalent-0.0.1/src/ambivalent/stylefiles/opinionated_sg.mplstyle +67 -0
  123. ambivalent-0.0.1/src/ambivalent/stylefiles/opinionated_tw.mplstyle +67 -0
  124. ambivalent-0.0.1/src/ambivalent/stylefiles/opinions.mplstyle +64 -0
  125. ambivalent-0.0.1/src/ambivalent/utils.py +108 -0
@@ -0,0 +1,166 @@
1
+ *.DS_Store
2
+ venvs/*
3
+ *.jukit
4
+
5
+ # Byte-compiled / optimized / DLL files
6
+ __pycache__/
7
+ *.py[cod]
8
+ *$py.class
9
+
10
+ # C extensions
11
+ *.so
12
+
13
+ # Distribution / packaging
14
+ .Python
15
+ build/
16
+ develop-eggs/
17
+ dist/
18
+ downloads/
19
+ eggs/
20
+ .eggs/
21
+ lib/
22
+ lib64/
23
+ parts/
24
+ sdist/
25
+ var/
26
+ wheels/
27
+ share/python-wheels/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+ MANIFEST
32
+
33
+ # PyInstaller
34
+ # Usually these files are written by a python script from a template
35
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
36
+ *.manifest
37
+ *.spec
38
+
39
+ # Installer logs
40
+ pip-log.txt
41
+ pip-delete-this-directory.txt
42
+
43
+ # Unit test / coverage reports
44
+ htmlcov/
45
+ .tox/
46
+ .nox/
47
+ .coverage
48
+ .coverage.*
49
+ .cache
50
+ nosetests.xml
51
+ coverage.xml
52
+ *.cover
53
+ *.py,cover
54
+ .hypothesis/
55
+ .pytest_cache/
56
+ cover/
57
+
58
+ # Translations
59
+ *.mo
60
+ *.pot
61
+
62
+ # Django stuff:
63
+ *.log
64
+ local_settings.py
65
+ db.sqlite3
66
+ db.sqlite3-journal
67
+
68
+ # Flask stuff:
69
+ instance/
70
+ .webassets-cache
71
+
72
+ # Scrapy stuff:
73
+ .scrapy
74
+
75
+ # Sphinx documentation
76
+ docs/_build/
77
+
78
+ # PyBuilder
79
+ .pybuilder/
80
+ target/
81
+
82
+ # Jupyter Notebook
83
+ .ipynb_checkpoints
84
+
85
+ # IPython
86
+ profile_default/
87
+ ipython_config.py
88
+
89
+ # pyenv
90
+ # For a library or package, you might want to ignore these files since the code is
91
+ # intended to run in multiple environments; otherwise, check them in:
92
+ # .python-version
93
+
94
+ # pipenv
95
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
96
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
97
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
98
+ # install all needed dependencies.
99
+ #Pipfile.lock
100
+
101
+ # poetry
102
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
103
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
104
+ # commonly ignored for libraries.
105
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
106
+ #poetry.lock
107
+
108
+ # pdm
109
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
110
+ #pdm.lock
111
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
112
+ # in version control.
113
+ # https://pdm.fming.dev/#use-with-ide
114
+ .pdm.toml
115
+
116
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
117
+ __pypackages__/
118
+
119
+ # Celery stuff
120
+ celerybeat-schedule
121
+ celerybeat.pid
122
+
123
+ # SageMath parsed files
124
+ *.sage.py
125
+
126
+ # Environments
127
+ .env
128
+ .venv
129
+ env/
130
+ venv/
131
+ ENV/
132
+ env.bak/
133
+ venv.bak/
134
+
135
+ # Spyder project settings
136
+ .spyderproject
137
+ .spyproject
138
+
139
+ # Rope project settings
140
+ .ropeproject
141
+
142
+ # mkdocs documentation
143
+ /site
144
+
145
+ # mypy
146
+ .mypy_cache/
147
+ .dmypy.json
148
+ dmypy.json
149
+
150
+ # Pyre type checker
151
+ .pyre/
152
+
153
+ # pytype static type analyzer
154
+ .pytype/
155
+
156
+ # Cython debug symbols
157
+ cython_debug/
158
+
159
+ # PyCharm
160
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
161
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
162
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
163
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
164
+ #.idea/
165
+
166
+ /.quarto/
@@ -0,0 +1,15 @@
1
+ {
2
+ "hash": "769b746ab227c52f4e9e3b61f8e5893d",
3
+ "result": {
4
+ "markdown": "---\nsite-url: 'https://saforem2.github.io/ambivalent'\nwebsite:\n open-graph: true\n description: 'ambivalent: Minimal, beautiful (+ highly-customizable) styles for Matplotlib'\n page-navigation: true\n title: ambivalent\n site-url: 'https:saforem2.github.io/ambivalent'\n favicon: ./favicon.svg\n back-to-top-navigation: true\n repo-url: 'https://github.com/saforem2/ambivalent'\n repo-actions:\n - source\n - edit\n - issue\n google-analytics: G-XVM2Y822Y1\n twitter-card:\n image: ./assets/thumbnail.png\n site: '@saforem2'\n creator: '@saforem2'\n navbar:\n title: false\n tools:\n - icon: twitter\n href: 'https://twitter.com/saforem2'\n - icon: github\n menu:\n - text: Source Code\n url: 'https://github.com/saforem2/ambivalent/blob/master/index.qmd'\n - text: New Issue\n url: 'https://github.com/saforem2/ambivalent/issues/new/choose'\neditor:\n render-on-save: true\nexecute:\n freeze: true\nformat:\n html: default\n revealjs:\n scrollable: true\n output-file: slides.html\n appearance:\n appearparents: true\n code-line-numbers: false\n code-link: false\n code-copy: false\n title-block-style: none\n slide-number: c\n title-slide-style: default\n chalkboard:\n buttons: false\n auto-animate: true\n reference-location: section\n touch: true\n pause: false\n footnotes-hover: true\n citations-hover: true\n preview-links: true\n controls-tutorial: true\n controls: false\n logo: 'https://raw.githubusercontent.com/saforem2/llm-lunch-talk/main/docs/assets/anl.svg'\n history: false\n highlight-style: atom-one\n css:\n - css/default.css\n - css/callouts.css\n - css/code-callout.css\n theme:\n - css/common.scss\n - css/dark.scss\n - css/syntax-dark.scss\n - css/dark-reveal.scss\n self-contained: false\n embed-resources: false\n self-contained-math: false\n center: true\n default-image-extension: svg\n code-overflow: scroll\n html-math-method: katex\n fig-align: center\n gfm:\n author: Sam Foreman\n toc: true\n output-file: README-gfm.md\ntitle: Ambivalent\n---\n\n\n\n\n\n[~~`opinionated`~~](https://github.com/saforem2/opinionated) $\\longrightarrow$ [**`ambivalent`**](https://github.com/saforem2/ambivalent)\n\nClean, simple style for Matplotlib figures.\n\nTransparent backgrounds with grey text <a href='#'><img valign='middle'\n alt='#838383' src='https://readme-swatches.vercel.app/838383'/></a> that\nare `{light, dark}`-mode independent.\n\n## Examples\n\n::: {#fig-chains style=\"display: flex; text-align:center;\"}\n\n![chains](./assets/chains.svg)\n\n\nFigure from [`l2hmc-qcd` Notebook](https://saforem2.github.io/l2hmc-qcd/qmd/l2hmc-2dU1/l2hmc-2dU1.html)\n\n:::\n\n\n## Matplotlib Examples\n\n\n::: {#fig-combined layout=\"[[40, -2, 40], [-1], [40, -2, 40]]\" layout-valign=\"bottom\" style=\"display: flex; text-align:center; align-items: flex-end;\"}\n\n![[2D Density](https://matplotlib.org/stable/gallery/lines_bars_and_markers/scatter_hist.html#sphx-glr-gallery-lines-bars-and-markers-scatter-hist-py)](./assets/density-2d.svg){#fig-density}\n\n![[scatter](https://matplotlib.org/stable/gallery/lines_bars_and_markers/scatter_demo2.html#sphx-glr-gallery-lines-bars-and-markers-scatter-demo2-py)](./assets/scatter.svg){#fig-scatter}\n\n![[spectrum](https://matplotlib.org/stable/gallery/lines_bars_and_markers/spectrum_demo.html#sphx-glr-gallery-lines-bars-and-markers-spectrum-demo-py)](./assets/spectrum.svg){#fig-spectrum}\n\n![[bar](https://matplotlib.org/stable/gallery/lines_bars_and_markers/bar_colors.html#sphx-glr-gallery-lines-bars-and-markers-bar-colors-py)](./assets/bar.svg){#fig-bar}\n\n\nExamples from: [Matplotlib Examples](https://matplotlib.org/stable/gallery/index.html)\n\n:::\n\n## Ridgeplot\n\n::: {#fig-ridgeplot style=\"display: flex; text-align:center;\"}\n\n![ridgeplot](./assets/ridgeplot.svg){width=\"75%\"}\n\n\nFigure from [Seaborn Example](https://seaborn.pydata.org/examples/kde_ridgeplot)\n\n:::\n\n\n::: {.cell execution_count=1}\n\n::: {.cell-output .cell-output-display}\n```{=html}\n<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #7f7f7f; text-decoration-color: #7f7f7f; font-style: italic\">Last Updated</span>: <span style=\"color: #f06292; text-decoration-color: #f06292; font-weight: bold\">12</span><span style=\"color: #f06292; text-decoration-color: #f06292\">/</span><span style=\"color: #f06292; text-decoration-color: #f06292; font-weight: bold\">28</span><span style=\"color: #f06292; text-decoration-color: #f06292\">/</span><span style=\"color: #f06292; text-decoration-color: #f06292; font-weight: bold\">2023</span> <span style=\"color: #7f7f7f; text-decoration-color: #7f7f7f\">@</span> <span style=\"color: #1a8fff; text-decoration-color: #1a8fff; font-weight: bold\">16:01:23</span>\n</pre>\n```\n:::\n:::\n\n\n[![](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fsaforem2.github.io%2Fambivalent&count_bg=%23222222&title_bg=%23303030&icon=&icon_color=%23E7E7E7)]{style=\"text-align:center;\"}\n\n",
5
+ "supporting": [
6
+ "index_files"
7
+ ],
8
+ "filters": [],
9
+ "includes": {
10
+ "include-in-header": [
11
+ "<script src=\"https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js\" integrity=\"sha512-c3Nl8+7g4LMSTdrm621y7kf9v3SDPnhxLNhcjFJbKECVnmZHTdo+IRO05sNLTH/D3vA6u1X32ehoLC7WFVdheg==\" crossorigin=\"anonymous\"></script>\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js\" integrity=\"sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg==\" crossorigin=\"anonymous\"></script>\n<script type=\"application/javascript\">define('jquery', [],function() {return window.jQuery;})</script>\n"
12
+ ]
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "hash": "a895065b62e12338b6fe66433a3842a8",
3
+ "result": {
4
+ "markdown": "---\nsite-url: 'https://saforem2.github.io/ambivalent'\nwebsite:\n open-graph: true\n description: 'ambivalent: Minimal, beautiful (+ highly-customizable) styles for Matplotlib'\n page-navigation: true\n title: ambivalent\n site-url: 'https:saforem2.github.io/ambivalent'\n favicon: ./favicon.svg\n back-to-top-navigation: true\n repo-url: 'https://github.com/saforem2/ambivalent'\n repo-actions:\n - source\n - edit\n - issue\n google-analytics: G-XVM2Y822Y1\n twitter-card:\n image: ./assets/thumbnail.png\n site: '@saforem2'\n creator: '@saforem2'\n navbar:\n title: false\n tools:\n - icon: twitter\n href: 'https://twitter.com/saforem2'\n - icon: github\n menu:\n - text: Source Code\n url: 'https://github.com/saforem2/ambivalent/blob/master/index.qmd'\n - text: New Issue\n url: 'https://github.com/saforem2/ambivalent/issues/new/choose'\neditor:\n render-on-save: true\nexecute:\n freeze: true\nformat:\n html: default\n revealjs:\n scrollable: true\n output-file: slides.html\n appearance:\n appearparents: true\n code-line-numbers: false\n code-link: false\n code-copy: false\n title-block-style: none\n slide-number: c\n title-slide-style: default\n chalkboard:\n buttons: false\n auto-animate: true\n reference-location: section\n touch: true\n pause: false\n footnotes-hover: true\n citations-hover: true\n preview-links: true\n controls-tutorial: true\n controls: false\n logo: 'https://raw.githubusercontent.com/saforem2/llm-lunch-talk/main/docs/assets/anl.svg'\n history: false\n highlight-style: atom-one\n css:\n - css/default.css\n - css/callouts.css\n - css/code-callout.css\n theme:\n - css/common.scss\n - css/dark.scss\n - css/syntax-dark.scss\n - css/dark-reveal.scss\n self-contained: false\n embed-resources: false\n self-contained-math: false\n center: true\n default-image-extension: svg\n code-overflow: scroll\n html-math-method: katex\n fig-align: center\n gfm:\n author: Sam Foreman\n toc: true\n output-file: README.md\ntitle: Ambivalent\n---\n\n\n\n\n\n[~~`opinionated`~~](https://github.com/saforem2/opinionated) $\\longrightarrow$ [**`ambivalent`**](https://github.com/saforem2/ambivalent)\n\nClean, simple style for Matplotlib figures.\n\nTransparent backgrounds with grey text <a href='#'><img valign='middle'\n alt='#838383' src='https://readme-swatches.vercel.app/838383'/></a> that\nare `{light, dark}`-mode independent.\n\n## Examples\n\n### InferenceData\n\n::: {#fig-chains style=\"display: flex; text-align:left;\"}\n\n![chains](./assets/chains.svg)\n\n\nFigure from [`l2hmc-qcd` Notebook](https://saforem2.github.io/l2hmc-qcd/qmd/l2hmc-2dU1/l2hmc-2dU1.html)\n\n:::\n\n\n### Density in 2D\n\n::: {#fig-density-2d style=\"display: flex; text-align:left;\"}\n\n![2D Density](./assets/density-2d.svg)\n\n\nExample from [Scatter plot with histograms](https://matplotlib.org/stable/gallery/lines_bars_and_markers/scatter_hist.html#sphx-glr-gallery-lines-bars-and-markers-scatter-hist-py)\n\n:::\n\n\n### Scatter\n\n::: {#fig-scatter style=\"display: flex; text-align:left;\"}\n\n![scatter](./assets/scatter.svg)[^2]\n\nExample from: [Scatter Demo 2](https://matplotlib.org/stable/gallery/lines_bars_and_markers/scatter_demo2.html#sphx-glr-gallery-lines-bars-and-markers-scatter-demo2-py)\n\n:::\n\n### Bar Chart\n\n\n::: {#fig-bar style=\"display: flex; text-align:left;\"}\n\n![bar](./assets/bar.svg)\n\nFigure from [Bar color demo](https://matplotlib.org/stable/gallery/lines_bars_and_markers/bar_colors.html#sphx-glr-gallery-lines-bars-and-markers-bar-colors-py)\n\n:::\n\n### Spectrum Representation\n\n::: {#fig-spectrum style=\"display: flex; text-align:left;\"}\n\n![spectrum](./assets/spectrum.svg)[^1]\n\n\nFigure from [Spectrum Representations](https://matplotlib.https://seaborn.pydata.org/examples/kde_ridgeplotorg/stable/gallery/lines_bars_and_markers/spectrum_demo.html#sphx-glr-gallery-lines-bars-and-markers-spectrum-demo-py)\n\n:::\n\n### Ridgeplot\n\n::: {#fig-ridgeplot style=\"display: flex; text-align:left;\"}\n\n![ridgeplot](./assets/ridgeplot.svg)\n\n\nFigure from [Seaborn Example](https://seaborn.pydata.org/examples/kde_ridgeplot)\n\n:::\n\n\n::: {.cell execution_count=1}\n\n::: {.cell-output .cell-output-display}\n```{=html}\n<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #7f7f7f; text-decoration-color: #7f7f7f; font-style: italic\">Last Updated</span>: <span style=\"color: #f06292; text-decoration-color: #f06292; font-weight: bold\">12</span><span style=\"color: #f06292; text-decoration-color: #f06292\">/</span><span style=\"color: #f06292; text-decoration-color: #f06292; font-weight: bold\">28</span><span style=\"color: #f06292; text-decoration-color: #f06292\">/</span><span style=\"color: #f06292; text-decoration-color: #f06292; font-weight: bold\">2023</span> <span style=\"color: #7f7f7f; text-decoration-color: #7f7f7f\">@</span> <span style=\"color: #1a8fff; text-decoration-color: #1a8fff; font-weight: bold\">15:44:24</span>\n</pre>\n```\n:::\n:::\n\n\n[![](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fsaforem2.github.io%2Fambivalent&count_bg=%23222222&title_bg=%23303030&icon=&icon_color=%23E7E7E7)]{style=\"text-align:left;\"}\n\n",
5
+ "supporting": [
6
+ "index_files/figure-commonmark"
7
+ ],
8
+ "filters": []
9
+ }
10
+ }
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * clipboard.js v2.0.11
3
+ * https://clipboardjs.com/
4
+ *
5
+ * Licensed MIT © Zeno Rocha
6
+ */
7
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return n={686:function(t,e,n){"use strict";n.d(e,{default:function(){return b}});var e=n(279),i=n.n(e),e=n(370),u=n.n(e),e=n(817),r=n.n(e);function c(t){try{return document.execCommand(t)}catch(t){return}}var a=function(t){t=r()(t);return c("cut"),t};function o(t,e){var n,o,t=(n=t,o="rtl"===document.documentElement.getAttribute("dir"),(t=document.createElement("textarea")).style.fontSize="12pt",t.style.border="0",t.style.padding="0",t.style.margin="0",t.style.position="absolute",t.style[o?"right":"left"]="-9999px",o=window.pageYOffset||document.documentElement.scrollTop,t.style.top="".concat(o,"px"),t.setAttribute("readonly",""),t.value=n,t);return e.container.appendChild(t),e=r()(t),c("copy"),t.remove(),e}var f=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof t?n=o(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?n=o(t.value,e):(n=r()(t),c("copy")),n};function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var s=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=t.action,n=void 0===e?"copy":e,o=t.container,e=t.target,t=t.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==e){if(!e||"object"!==l(e)||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return t?f(t,{container:o}):e?"cut"===n?a(e):f(e,{container:o}):void 0};function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(n){var o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=v(n);return t=o?(t=v(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),e=this,!(t=t)||"object"!==p(t)&&"function"!=typeof t?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function m(t,e){t="data-clipboard-".concat(t);if(e.hasAttribute(t))return e.getAttribute(t)}var b=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(r,i());var t,e,n,o=h(r);function r(t,e){var n;return function(t){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this),(n=o.call(this)).resolveOptions(e),n.listenClick(t),n}return t=r,n=[{key:"copy",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body};return f(t,e)}},{key:"cut",value:function(t){return a(t)}},{key:"isSupported",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof t?[t]:t,e=!!document.queryCommandSupported;return t.forEach(function(t){e=e&&!!document.queryCommandSupported(t)}),e}}],(e=[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===p(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=u()(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,n=this.action(e)||"copy",t=s({action:n,container:this.container,target:this.target(e),text:this.text(e)});this.emit(t?"success":"error",{action:n,text:t,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return m("action",t)}},{key:"defaultTarget",value:function(t){t=m("target",t);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(t){return m("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}])&&d(t.prototype,e),n&&d(t,n),r}()},828:function(t){var e;"undefined"==typeof Element||Element.prototype.matches||((e=Element.prototype).matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector),t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},438:function(t,e,n){var u=n(828);function i(t,e,n,o,r){var i=function(e,n,t,o){return function(t){t.delegateTarget=u(t.target,n),t.delegateTarget&&o.call(e,t)}}.apply(this,arguments);return t.addEventListener(n,i,r),{destroy:function(){t.removeEventListener(n,i,r)}}}t.exports=function(t,e,n,o,r){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return i(t,e,n,o,r)}))}},879:function(t,n){n.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},n.nodeList=function(t){var e=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===e||"[object HTMLCollection]"===e)&&"length"in t&&(0===t.length||n.node(t[0]))},n.string=function(t){return"string"==typeof t||t instanceof String},n.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,n){var f=n(879),l=n(438);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!f.string(e))throw new TypeError("Second argument must be a String");if(!f.fn(n))throw new TypeError("Third argument must be a Function");if(f.node(t))return c=e,a=n,(u=t).addEventListener(c,a),{destroy:function(){u.removeEventListener(c,a)}};if(f.nodeList(t))return o=t,r=e,i=n,Array.prototype.forEach.call(o,function(t){t.addEventListener(r,i)}),{destroy:function(){Array.prototype.forEach.call(o,function(t){t.removeEventListener(r,i)})}};if(f.string(t))return t=t,e=e,n=n,l(document.body,t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var o,r,i,u,c,a}},817:function(t){t.exports=function(t){var e,n="SELECT"===t.nodeName?(t.focus(),t.value):"INPUT"===t.nodeName||"TEXTAREA"===t.nodeName?((e=t.hasAttribute("readonly"))||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),e||t.removeAttribute("readonly"),t.value):(t.hasAttribute("contenteditable")&&t.focus(),n=window.getSelection(),(e=document.createRange()).selectNodeContents(t),n.removeAllRanges(),n.addRange(e),n.toString());return n}},279:function(t){function e(){}e.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var o=this;function r(){o.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),o=n[t],r=[];if(o&&e)for(var i=0,u=o.length;i<u;i++)o[i].fn!==e&&o[i].fn._!==e&&r.push(o[i]);return r.length?n[t]=r:delete n[t],this}},t.exports=e,t.exports.TinyEmitter=e}},r={},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o(686).default;function o(t){if(r[t])return r[t].exports;var e=r[t]={exports:{}};return n[t](e,e.exports,o),e.exports}var n,r});