Skip to content

Commit d9949fb

Browse files
committed
Formatting
1 parent 61f6b5d commit d9949fb

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

docs/source/conf.py

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
# For the full list of built-in configuration values, see the documentation:
44
# https://www.sphinx-doc.org/en/master/usage/configuration.html
55

6-
import shutil
76
import os
7+
import shutil
8+
89

910
def copy_tutorials(app):
1011
src = os.path.abspath("../tutorials")
@@ -16,32 +17,33 @@ def copy_tutorials(app):
1617

1718
shutil.copytree(src, dst)
1819

20+
1921
def setup(app):
2022
app.connect("builder-inited", copy_tutorials)
2123

24+
2225
# -- Project information -----------------------------------------------------
2326
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
2427

25-
project = 'maxplotlib'
26-
copyright = '2025, Max Lindqvist'
27-
author = 'Max Lindqvist'
28+
project = "maxplotlib"
29+
copyright = "2025, Max Lindqvist"
30+
author = "Max Lindqvist"
2831

2932
# -- General configuration ---------------------------------------------------
3033
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
3134

3235
extensions = [
33-
'nbsphinx',
34-
'sphinx.ext.mathjax',
35-
'sphinx.ext.autodoc',
36+
"nbsphinx",
37+
"sphinx.ext.mathjax",
38+
"sphinx.ext.autodoc",
3639
]
3740

38-
templates_path = ['_templates']
41+
templates_path = ["_templates"]
3942
exclude_patterns = []
4043

4144

42-
4345
# -- Options for HTML output -------------------------------------------------
4446
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
4547

46-
html_theme = 'sphinx_rtd_theme'
47-
html_static_path = ['_static']
48+
html_theme = "sphinx_rtd_theme"
49+
html_static_path = ["_static"]

src/maxplotlib/canvas/canvas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def plot_matplotlib(self, show=True, savefig=False, layers=None, usetex=False):
205205

206206
for (row, col), subplot in self.subplots.items():
207207
ax = axes[row][col]
208-
print(f"{subplot = }")
208+
# print(f"{subplot = }")
209209
subplot.plot_matplotlib(ax, layers=layers)
210210
# ax.set_title(f"Subplot ({row}, {col})")
211211
ax.grid()

src/maxplotlib/subfigure/line_plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def add_node(self, x, y, label=None, content="", layer=0, **kwargs):
247247
if layer in self.layers:
248248
self.layers[layer].add(node)
249249
else:
250-
print(f"{self.layers = } {layer = }")
250+
# print(f"{self.layers = } {layer = }")
251251
self.layers[layer] = Tikzlayer(layer)
252252
self.layers[layer].add(node)
253253
self._node_counter += 1

0 commit comments

Comments
 (0)