faceted 0.2.1__tar.gz → 0.2.2__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 (47) hide show
  1. faceted-0.2.2/.codecov.yml +14 -0
  2. faceted-0.2.2/.coveragerc +2 -0
  3. faceted-0.2.2/.github/workflows/pre-commit.yaml +15 -0
  4. faceted-0.2.2/.github/workflows/tests.yml +43 -0
  5. faceted-0.2.2/.pre-commit-config.yaml +9 -0
  6. faceted-0.2.2/PKG-INFO +122 -0
  7. {faceted-0.2.1 → faceted-0.2.2}/README.md +6 -8
  8. faceted-0.2.2/dimensions.png +0 -0
  9. faceted-0.2.2/docs/Makefile +240 -0
  10. faceted-0.2.2/docs/api.rst +17 -0
  11. faceted-0.2.2/docs/conf.py +322 -0
  12. faceted-0.2.2/docs/dimensions.png +0 -0
  13. faceted-0.2.2/docs/example_tair_edge_cbar.png +0 -0
  14. faceted-0.2.2/docs/examples.rst +385 -0
  15. faceted-0.2.2/docs/index.rst +66 -0
  16. faceted-0.2.2/docs/padding.png +0 -0
  17. faceted-0.2.2/docs/whats-new.rst +55 -0
  18. faceted-0.2.2/docs/why-faceted.rst +342 -0
  19. faceted-0.2.2/faceted/__init__.py +1 -0
  20. faceted-0.2.2/faceted/examples/basic-grid-example.png +0 -0
  21. faceted-0.2.2/faceted/examples/cartopy-example-sharex-row.png +0 -0
  22. faceted-0.2.2/faceted/examples/cartopy-example.png +0 -0
  23. faceted-0.2.2/faceted/examples/colorbar-grid-example.png +0 -0
  24. faceted-0.2.2/faceted/examples/multi-colorbar-grid-example.png +0 -0
  25. {faceted-0.2.1 → faceted-0.2.2}/faceted/faceted.py +20 -15
  26. {faceted-0.2.1 → faceted-0.2.2}/faceted/tests/test_faceted.py +21 -16
  27. faceted-0.2.2/faceted.egg-info/PKG-INFO +122 -0
  28. faceted-0.2.2/faceted.egg-info/SOURCES.txt +37 -0
  29. faceted-0.2.2/faceted.egg-info/not-zip-safe +1 -0
  30. faceted-0.2.2/faceted.egg-info/requires.txt +22 -0
  31. faceted-0.2.2/padding.png +0 -0
  32. faceted-0.2.2/pyproject.toml +65 -0
  33. faceted-0.2.2/readme-example.png +0 -0
  34. faceted-0.2.2/readthedocs.yml +16 -0
  35. faceted-0.2.2/setup.cfg +4 -0
  36. faceted-0.2.1/PKG-INFO +0 -53
  37. faceted-0.2.1/faceted/__init__.py +0 -5
  38. faceted-0.2.1/faceted/_version.py +0 -21
  39. faceted-0.2.1/faceted.egg-info/PKG-INFO +0 -53
  40. faceted-0.2.1/faceted.egg-info/SOURCES.txt +0 -14
  41. faceted-0.2.1/faceted.egg-info/requires.txt +0 -2
  42. faceted-0.2.1/setup.cfg +0 -35
  43. faceted-0.2.1/setup.py +0 -64
  44. {faceted-0.2.1 → faceted-0.2.2}/LICENSE +0 -0
  45. {faceted-0.2.1 → faceted-0.2.2}/faceted/tests/__init__.py +0 -0
  46. {faceted-0.2.1 → faceted-0.2.2}/faceted.egg-info/dependency_links.txt +0 -0
  47. {faceted-0.2.1 → faceted-0.2.2}/faceted.egg-info/top_level.txt +0 -0
@@ -0,0 +1,14 @@
1
+ # Configuration taken from xarray
2
+ codecov:
3
+ require_ci_to_pass: yes
4
+
5
+ coverage:
6
+ status:
7
+ project:
8
+ default:
9
+ # Require 1% coverage, i.e., always succeed
10
+ target: 1
11
+ patch: false
12
+ changes: false
13
+
14
+ comment: off
@@ -0,0 +1,2 @@
1
+ [run]
2
+ omit = faceted/tests/*, faceted/_version.py, versioneer.py
@@ -0,0 +1,15 @@
1
+ name: pre-commit
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches: [main]
7
+
8
+ jobs:
9
+ pre-commit:
10
+ name: "pre-commit hooks"
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v7
14
+ - uses: actions/setup-python@v6
15
+ - uses: pre-commit/action@v3.0.1
@@ -0,0 +1,43 @@
1
+ name: tests
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches: [main]
7
+
8
+ env:
9
+ FORCE_COLOR: 1
10
+
11
+ jobs:
12
+ pytest:
13
+ runs-on: ${{ matrix.os }}
14
+ strategy:
15
+ matrix:
16
+ python-version: ["3.13"]
17
+ os: [ubuntu-latest]
18
+ platform: [x64]
19
+
20
+ steps:
21
+ - uses: actions/checkout@v7
22
+
23
+ - uses: actions/setup-python@v6
24
+ with:
25
+ python-version: ${{ matrix.python-version }}
26
+
27
+ - name: Install faceted
28
+ run: pip install -e ".[dev]"
29
+
30
+ - name: Environment information
31
+ run: python -m pip list
32
+
33
+ - name: Run tests
34
+ run: pytest -vv --cov=faceted --cov-report=xml
35
+
36
+ - name: Upload code coverage to Codecov
37
+ uses: codecov/codecov-action@v7
38
+ with:
39
+ file: ./coverage.xml
40
+ flags: unittests,${{ matrix.python-version }}
41
+ name: codecov-umbrella
42
+ fail_ci_if_error: false
43
+ token: ${{ secrets.CODECOV_TOKEN }}
@@ -0,0 +1,9 @@
1
+ repos:
2
+ - repo: https://github.com/astral-sh/ruff-pre-commit
3
+ # Ruff version.
4
+ rev: v0.12.12
5
+ hooks:
6
+ # Run the linter.
7
+ - id: ruff-check
8
+ # Run the formatter.
9
+ - id: ruff-format
faceted-0.2.2/PKG-INFO ADDED
@@ -0,0 +1,122 @@
1
+ Metadata-Version: 2.4
2
+ Name: faceted
3
+ Version: 0.2.2
4
+ Summary: Figures with precise control over overall width, plot aspect ratio, between-plot spacing, and colorbar dimensions.
5
+ Author-email: Spencer Clark <spencerkclark@gmail.com>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2018 Spencer Clark
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: Documentation, https://faceted.readthedocs.io/en/latest/
29
+ Project-URL: Repository, https://github.com/spencerkclark/faceted.git
30
+ Classifier: Development Status :: 4 - Beta
31
+ Classifier: Intended Audience :: Science/Research
32
+ Classifier: License :: OSI Approved :: MIT License
33
+ Classifier: Natural Language :: English
34
+ Classifier: Operating System :: OS Independent
35
+ Classifier: Programming Language :: Python :: 3
36
+ Classifier: Topic :: Scientific/Engineering
37
+ Requires-Python: >=3.11
38
+ Description-Content-Type: text/markdown
39
+ License-File: LICENSE
40
+ Requires-Dist: matplotlib>=1.5
41
+ Requires-Dist: numpy>=1.7
42
+ Provides-Extra: dev
43
+ Requires-Dist: cartopy; extra == "dev"
44
+ Requires-Dist: coveralls; extra == "dev"
45
+ Requires-Dist: pytest; extra == "dev"
46
+ Requires-Dist: pytest-cov; extra == "dev"
47
+ Provides-Extra: docs
48
+ Requires-Dist: cartopy; extra == "docs"
49
+ Requires-Dist: cftime; extra == "docs"
50
+ Requires-Dist: ipython; extra == "docs"
51
+ Requires-Dist: jupyter; extra == "docs"
52
+ Requires-Dist: nc-time-axis; extra == "docs"
53
+ Requires-Dist: netCDF4; extra == "docs"
54
+ Requires-Dist: numpydoc; extra == "docs"
55
+ Requires-Dist: pooch; extra == "docs"
56
+ Requires-Dist: sphinx; extra == "docs"
57
+ Requires-Dist: sphinx-gallery; extra == "docs"
58
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
59
+ Requires-Dist: xarray; extra == "docs"
60
+ Dynamic: license-file
61
+
62
+ faceted
63
+ =======
64
+
65
+ [![tests](https://github.com/spencerkclark/faceted/actions/workflows/tests.yml/badge.svg)](https://github.com/spencerkclark/faceted/actions/workflows/tests.yml) [![codecov](https://codecov.io/gh/spencerkclark/faceted/branch/master/graph/badge.svg?token=H1DBBSTQ2V)](https://codecov.io/gh/spencerkclark/faceted) [![Documentation
66
+ Status](https://readthedocs.org/projects/faceted/badge/?version=latest)](https://faceted.readthedocs.io/en/latest/?badge=latest) [![PyPI](https://img.shields.io/pypi/v/faceted.svg)](https://pypi.python.org/pypi/faceted/)
67
+
68
+ Figures with precise control over overall width, overall height,
69
+ plot aspect ratio, between-plot spacing, and colorbar dimensions.
70
+
71
+ Description
72
+ -----------
73
+
74
+ The purpose of this module is to make it easy to produce single-or-multi-panel
75
+ figures in `matplotlib` with strict dimensional constraints. For example,
76
+ perhaps you would like to make a figure that fits exactly within a column of a
77
+ manuscript *without any scaling*, and you would like the panels to be as large
78
+ as possible, but retain a fixed aspect ratio (height divided by width). Maybe
79
+ some (or all) of your panels require an accompanying colorbar. With
80
+ out of the box `matplotlib` tools this is actually somewhat tricky.
81
+
82
+ ![readme-example.png](readme-example.png?raw=true)
83
+
84
+ Internally, this module uses the flexible [`matplotlib` `AxesGrid` toolkit](https://matplotlib.org/2.0.2/mpl_toolkits/axes_grid/users/overview.html#axes-grid1),
85
+ with some additional logic to enable making these kinds of
86
+ dimensionally-constrained
87
+ panel plots with precise padding and colorbar size(s).
88
+
89
+ Another project with a similar motivation is [panel-plots](
90
+ https://github.com/ajdawson/panel-plots); however it does not have support
91
+ for adding colorbars to a dimensionally-constrained figure. One part of the
92
+ implementation there that inspired part of what is done here is the ability
93
+ to add user-settable padding to the edges of the figure (to add space for
94
+ axes ticks, ticklabels, and labels). This eliminates the need for using
95
+ `bbox_inches='tight'` when saving the figure, and enables you
96
+ to make sure that your figures are *exactly* the dimensions you need for your use.
97
+
98
+ I intend to keep the scope of this project quite limited. I want the results it
99
+ produces to remain extremely easy to understand and control. For more
100
+ complicated figure layouts, e.g. multiple panels with different sizes and
101
+ aspect ratios, and a more magical approach to setting figure boundary padding
102
+ and between-panel spacing, a library worth checking out is
103
+ [proplot](https://github.com/lukelbd/proplot). The ["smart tight layout" feature
104
+ it provides](https://proplot.readthedocs.io/en/stable/why.html#id5) is an impressive
105
+ automated method of solving some of the same problems addressed by this library.
106
+
107
+ For information on how to use `faceted`, see the documentation:
108
+ https://faceted.readthedocs.io/en/latest/.
109
+
110
+ Installation
111
+ ------------
112
+
113
+ You can install `faceted` either from PyPI:
114
+ ```
115
+ $ pip install faceted
116
+ ```
117
+ or directly from source:
118
+ ```
119
+ $ git clone https://github.com/spencerkclark/faceted.git
120
+ $ cd faceted
121
+ $ pip install -e .
122
+ ```
@@ -1,9 +1,8 @@
1
1
  faceted
2
2
  =======
3
3
 
4
- [![Build
5
- Status](https://github.com/spencerkclark/faceted/workflows/tests/badge.svg?branch=master)](https://github.com/spencerkclark/faceted/actions) [![codecov](https://codecov.io/gh/spencerkclark/faceted/branch/master/graph/badge.svg?token=H1DBBSTQ2V)](https://codecov.io/gh/spencerkclark/faceted) [![Documentation
6
- Status](https://readthedocs.org/projects/faceted/badge/?version=latest)](https://faceted.readthedocs.io/en/latest/?badge=latest) [![PyPI](https://img.shields.io/pypi/v/faceted.svg)](https://pypi.python.org/pypi/faceted/) [![black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
4
+ [![tests](https://github.com/spencerkclark/faceted/actions/workflows/tests.yml/badge.svg)](https://github.com/spencerkclark/faceted/actions/workflows/tests.yml) [![codecov](https://codecov.io/gh/spencerkclark/faceted/branch/master/graph/badge.svg?token=H1DBBSTQ2V)](https://codecov.io/gh/spencerkclark/faceted) [![Documentation
5
+ Status](https://readthedocs.org/projects/faceted/badge/?version=latest)](https://faceted.readthedocs.io/en/latest/?badge=latest) [![PyPI](https://img.shields.io/pypi/v/faceted.svg)](https://pypi.python.org/pypi/faceted/)
7
6
 
8
7
  Figures with precise control over overall width, overall height,
9
8
  plot aspect ratio, between-plot spacing, and colorbar dimensions.
@@ -39,11 +38,10 @@ I intend to keep the scope of this project quite limited. I want the results it
39
38
  produces to remain extremely easy to understand and control. For more
40
39
  complicated figure layouts, e.g. multiple panels with different sizes and
41
40
  aspect ratios, and a more magical approach to setting figure boundary padding
42
- and between-panel spacing, a library potentially worth checking out is
43
- [proplot](https://github.com/lukelbd/proplot). I have not tried it out
44
- personally; however, the "smart tight layout" feature it advertises sounds like
45
- a more automated attempt at solving some of the same problems addressed by this
46
- library.
41
+ and between-panel spacing, a library worth checking out is
42
+ [proplot](https://github.com/lukelbd/proplot). The ["smart tight layout" feature
43
+ it provides](https://proplot.readthedocs.io/en/stable/why.html#id5) is an impressive
44
+ automated method of solving some of the same problems addressed by this library.
47
45
 
48
46
  For information on how to use `faceted`, see the documentation:
49
47
  https://faceted.readthedocs.io/en/latest/.
Binary file
@@ -0,0 +1,240 @@
1
+ # Makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line.
5
+ SPHINXOPTS =
6
+ SPHINXBUILD = sphinx-build
7
+ SPHINXATUOBUILD = sphinx-autobuild
8
+ PAPER =
9
+ BUILDDIR = _build
10
+
11
+ # Internal variables.
12
+ PAPEROPT_a4 = -D latex_paper_size=a4
13
+ PAPEROPT_letter = -D latex_paper_size=letter
14
+ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
15
+ # the i18n builder cannot share the environment and doctrees with the others
16
+ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
17
+
18
+ .PHONY: help
19
+ help:
20
+ @echo "Please use \`make <target>' where <target> is one of"
21
+ @echo " html to make standalone HTML files"
22
+ @echo " livehtml Make standalone HTML files and rebuild the documentation when a change is detected. Also includes a livereload enabled web server"
23
+ @echo " dirhtml to make HTML files named index.html in directories"
24
+ @echo " singlehtml to make a single large HTML file"
25
+ @echo " pickle to make pickle files"
26
+ @echo " json to make JSON files"
27
+ @echo " htmlhelp to make HTML files and a HTML help project"
28
+ @echo " qthelp to make HTML files and a qthelp project"
29
+ @echo " applehelp to make an Apple Help Book"
30
+ @echo " devhelp to make HTML files and a Devhelp project"
31
+ @echo " epub to make an epub"
32
+ @echo " epub3 to make an epub3"
33
+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
34
+ @echo " latexpdf to make LaTeX files and run them through pdflatex"
35
+ @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
36
+ @echo " text to make text files"
37
+ @echo " man to make manual pages"
38
+ @echo " texinfo to make Texinfo files"
39
+ @echo " info to make Texinfo files and run them through makeinfo"
40
+ @echo " gettext to make PO message catalogs"
41
+ @echo " changes to make an overview of all changed/added/deprecated items"
42
+ @echo " xml to make Docutils-native XML files"
43
+ @echo " pseudoxml to make pseudoxml-XML files for display purposes"
44
+ @echo " linkcheck to check all external links for integrity"
45
+ @echo " doctest to run all doctests embedded in the documentation (if enabled)"
46
+ @echo " coverage to run coverage check of the documentation (if enabled)"
47
+ @echo " dummy to check syntax errors of document sources"
48
+
49
+ .PHONY: clean
50
+ clean:
51
+ rm -rf $(BUILDDIR)/*
52
+ rm -rf generated/*
53
+ rm -rf auto_gallery/
54
+
55
+ .PHONY: html
56
+ html:
57
+ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
58
+ @echo
59
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
60
+
61
+ .PHONY: livehtml
62
+ livehtml:
63
+ # @echo "$(SPHINXATUOBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html"
64
+ $(SPHINXATUOBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
65
+
66
+ .PHONY: dirhtml
67
+ dirhtml:
68
+ $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
69
+ @echo
70
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
71
+
72
+ .PHONY: singlehtml
73
+ singlehtml:
74
+ $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
75
+ @echo
76
+ @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
77
+
78
+ .PHONY: html-noplot
79
+ html-noplot:
80
+ $(SPHINXBUILD) -D plot_gallery=0 -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
81
+ @echo
82
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
83
+
84
+ .PHONY: pickle
85
+ pickle:
86
+ $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
87
+ @echo
88
+ @echo "Build finished; now you can process the pickle files."
89
+
90
+ .PHONY: json
91
+ json:
92
+ $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
93
+ @echo
94
+ @echo "Build finished; now you can process the JSON files."
95
+
96
+ .PHONY: htmlhelp
97
+ htmlhelp:
98
+ $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
99
+ @echo
100
+ @echo "Build finished; now you can run HTML Help Workshop with the" \
101
+ ".hhp project file in $(BUILDDIR)/htmlhelp."
102
+
103
+ .PHONY: qthelp
104
+ qthelp:
105
+ $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
106
+ @echo
107
+ @echo "Build finished; now you can run "qcollectiongenerator" with the" \
108
+ ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
109
+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/faceted.qhcp"
110
+ @echo "To view the help file:"
111
+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/faceted.qhc"
112
+
113
+ .PHONY: applehelp
114
+ applehelp:
115
+ $(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp
116
+ @echo
117
+ @echo "Build finished. The help book is in $(BUILDDIR)/applehelp."
118
+ @echo "N.B. You won't be able to view it unless you put it in" \
119
+ "~/Library/Documentation/Help or install it in your application" \
120
+ "bundle."
121
+
122
+ .PHONY: devhelp
123
+ devhelp:
124
+ $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
125
+ @echo
126
+ @echo "Build finished."
127
+ @echo "To view the help file:"
128
+ @echo "# mkdir -p $$HOME/.local/share/devhelp/faceted"
129
+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/faceted"
130
+ @echo "# devhelp"
131
+
132
+ .PHONY: epub
133
+ epub:
134
+ $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
135
+ @echo
136
+ @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
137
+
138
+ .PHONY: epub3
139
+ epub3:
140
+ $(SPHINXBUILD) -b epub3 $(ALLSPHINXOPTS) $(BUILDDIR)/epub3
141
+ @echo
142
+ @echo "Build finished. The epub3 file is in $(BUILDDIR)/epub3."
143
+
144
+ .PHONY: latex
145
+ latex:
146
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
147
+ @echo
148
+ @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
149
+ @echo "Run \`make' in that directory to run these through (pdf)latex" \
150
+ "(use \`make latexpdf' here to do that automatically)."
151
+
152
+ .PHONY: latexpdf
153
+ latexpdf:
154
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
155
+ @echo "Running LaTeX files through pdflatex..."
156
+ $(MAKE) -C $(BUILDDIR)/latex all-pdf
157
+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
158
+
159
+ .PHONY: latexpdfja
160
+ latexpdfja:
161
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
162
+ @echo "Running LaTeX files through platex and dvipdfmx..."
163
+ $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
164
+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
165
+
166
+ .PHONY: text
167
+ text:
168
+ $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
169
+ @echo
170
+ @echo "Build finished. The text files are in $(BUILDDIR)/text."
171
+
172
+ .PHONY: man
173
+ man:
174
+ $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
175
+ @echo
176
+ @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
177
+
178
+ .PHONY: texinfo
179
+ texinfo:
180
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
181
+ @echo
182
+ @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
183
+ @echo "Run \`make' in that directory to run these through makeinfo" \
184
+ "(use \`make info' here to do that automatically)."
185
+
186
+ .PHONY: info
187
+ info:
188
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
189
+ @echo "Running Texinfo files through makeinfo..."
190
+ make -C $(BUILDDIR)/texinfo info
191
+ @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
192
+
193
+ .PHONY: gettext
194
+ gettext:
195
+ $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
196
+ @echo
197
+ @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
198
+
199
+ .PHONY: changes
200
+ changes:
201
+ $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
202
+ @echo
203
+ @echo "The overview file is in $(BUILDDIR)/changes."
204
+
205
+ .PHONY: linkcheck
206
+ linkcheck:
207
+ $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
208
+ @echo
209
+ @echo "Link check complete; look for any errors in the above output " \
210
+ "or in $(BUILDDIR)/linkcheck/output.txt."
211
+
212
+ .PHONY: doctest
213
+ doctest:
214
+ $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
215
+ @echo "Testing of doctests in the sources finished, look at the " \
216
+ "results in $(BUILDDIR)/doctest/output.txt."
217
+
218
+ .PHONY: coverage
219
+ coverage:
220
+ $(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage
221
+ @echo "Testing of coverage in the sources finished, look at the " \
222
+ "results in $(BUILDDIR)/coverage/python.txt."
223
+
224
+ .PHONY: xml
225
+ xml:
226
+ $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
227
+ @echo
228
+ @echo "Build finished. The XML files are in $(BUILDDIR)/xml."
229
+
230
+ .PHONY: pseudoxml
231
+ pseudoxml:
232
+ $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
233
+ @echo
234
+ @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
235
+
236
+ .PHONY: dummy
237
+ dummy:
238
+ $(SPHINXBUILD) -b dummy $(ALLSPHINXOPTS) $(BUILDDIR)/dummy
239
+ @echo
240
+ @echo "Build finished. Dummy builder generates no files."
@@ -0,0 +1,17 @@
1
+ .. currentmodule:: faceted
2
+
3
+ #############
4
+ API reference
5
+ #############
6
+
7
+ Here we provide a reference for faceted's limited API (currently it offers just
8
+ one public function).
9
+
10
+ Functions
11
+ =========
12
+
13
+ .. autosummary::
14
+ :toctree: generated/
15
+
16
+ faceted
17
+ faceted_ax