Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc1fad31

Browse files
committed
MNT: re-organize galleries under one subdir [ci doc]
1 parentf9de8aa commitc1fad31

File tree

629 files changed

+76
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

629 files changed

+76
-74
lines changed

‎.flake8

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -55,43 +55,43 @@ per-file-ignores =
5555
lib/pylab.py: F401, F403
5656

5757
doc/conf.py: E402
58-
tutorials/advanced/path_tutorial.py: E402
59-
tutorials/advanced/patheffects_guide.py: E402
60-
tutorials/advanced/transforms_tutorial.py: E402, E501
61-
tutorials/colors/colormaps.py: E501
62-
tutorials/colors/colors.py: E402
63-
tutorials/intermediate/artists.py: E402
64-
tutorials/intermediate/constrainedlayout_guide.py: E402
65-
tutorials/intermediate/legend_guide.py: E402
66-
tutorials/intermediate/tight_layout_guide.py: E402
67-
tutorials/introductory/animation_tutorial.py: E501
68-
tutorials/introductory/images.py: E501
69-
tutorials/introductory/pyplot.py: E402, E501
70-
tutorials/text/annotations.py: E402, E501
71-
tutorials/text/mathtext.py: E501
72-
tutorials/text/text_intro.py: E402
73-
tutorials/text/text_props.py: E501
58+
galleries/tutorials/advanced/path_tutorial.py: E402
59+
galleries/tutorials/advanced/patheffects_guide.py: E402
60+
galleries/tutorials/advanced/transforms_tutorial.py: E402, E501
61+
galleries/tutorials/colors/colormaps.py: E501
62+
galleries/tutorials/colors/colors.py: E402
63+
galleries/tutorials/intermediate/artists.py: E402
64+
galleries/tutorials/intermediate/constrainedlayout_guide.py: E402
65+
galleries/tutorials/intermediate/legend_guide.py: E402
66+
galleries/tutorials/intermediate/tight_layout_guide.py: E402
67+
galleries/tutorials/introductory/animation_tutorial.py: E501
68+
galleries/tutorials/introductory/images.py: E501
69+
galleries/tutorials/introductory/pyplot.py: E402, E501
70+
galleries/tutorials/text/annotations.py: E402, E501
71+
galleries/tutorials/text/mathtext.py: E501
72+
galleries/tutorials/text/text_intro.py: E402
73+
galleries/tutorials/text/text_props.py: E501
7474

75-
examples/animation/frame_grabbing_sgskip.py: E402
76-
examples/images_contours_and_fields/tricontour_demo.py: E201
77-
examples/images_contours_and_fields/tripcolor_demo.py: E201
78-
examples/images_contours_and_fields/triplot_demo.py: E201
79-
examples/lines_bars_and_markers/marker_reference.py: E402
80-
examples/misc/print_stdout_sgskip.py: E402
81-
examples/misc/table_demo.py: E201
82-
examples/style_sheets/bmh.py: E501
83-
examples/subplots_axes_and_figures/demo_constrained_layout.py: E402
84-
examples/text_labels_and_annotations/custom_legends.py: E402
85-
examples/ticks/date_concise_formatter.py: E402
86-
examples/ticks/date_formatters_locators.py: F401
87-
examples/user_interfaces/embedding_in_gtk3_panzoom_sgskip.py: E402
88-
examples/user_interfaces/embedding_in_gtk3_sgskip.py: E402
89-
examples/user_interfaces/embedding_in_gtk4_panzoom_sgskip.py: E402
90-
examples/user_interfaces/embedding_in_gtk4_sgskip.py: E402
91-
examples/user_interfaces/gtk3_spreadsheet_sgskip.py: E402
92-
examples/user_interfaces/gtk4_spreadsheet_sgskip.py: E402
93-
examples/user_interfaces/mpl_with_glade3_sgskip.py: E402
94-
examples/user_interfaces/pylab_with_gtk3_sgskip.py: E402
95-
examples/user_interfaces/pylab_with_gtk4_sgskip.py: E402
96-
examples/userdemo/pgf_preamble_sgskip.py: E402
75+
galleries/examples/animation/frame_grabbing_sgskip.py: E402
76+
galleries/examples/images_contours_and_fields/tricontour_demo.py: E201
77+
galleries/examples/images_contours_and_fields/tripcolor_demo.py: E201
78+
galleries/examples/images_contours_and_fields/triplot_demo.py: E201
79+
galleries/examples/lines_bars_and_markers/marker_reference.py: E402
80+
galleries/examples/misc/print_stdout_sgskip.py: E402
81+
galleries/examples/misc/table_demo.py: E201
82+
galleries/examples/style_sheets/bmh.py: E501
83+
galleries/examples/subplots_axes_and_figures/demo_constrained_layout.py: E402
84+
galleries/examples/text_labels_and_annotations/custom_legends.py: E402
85+
galleries/examples/ticks/date_concise_formatter.py: E402
86+
galleries/examples/ticks/date_formatters_locators.py: F401
87+
galleries/examples/user_interfaces/embedding_in_gtk3_panzoom_sgskip.py: E402
88+
galleries/examples/user_interfaces/embedding_in_gtk3_sgskip.py: E402
89+
galleries/examples/user_interfaces/embedding_in_gtk4_panzoom_sgskip.py: E402
90+
galleries/examples/user_interfaces/embedding_in_gtk4_sgskip.py: E402
91+
galleries/examples/user_interfaces/gtk3_spreadsheet_sgskip.py: E402
92+
galleries/examples/user_interfaces/gtk4_spreadsheet_sgskip.py: E402
93+
galleries/examples/user_interfaces/mpl_with_glade3_sgskip.py: E402
94+
galleries/examples/user_interfaces/pylab_with_gtk3_sgskip.py: E402
95+
galleries/examples/user_interfaces/pylab_with_gtk4_sgskip.py: E402
96+
galleries/examples/userdemo/pgf_preamble_sgskip.py: E402
9797
force-check = True

‎doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ def matplotlib_reduced_latex_scraper(block, block_vars, gallery_conf,
216216
gallery_dirs= [f'{ed}'foredin ['gallery','tutorials','plot_types']
217217
iff'{ed}/*'notinskip_subdirs]
218218

219-
example_dirs= [f'../{gd}'.replace('gallery','examples')forgdin
220-
gallery_dirs]
219+
example_dirs= [f'../galleries/{gd}'.replace('gallery','examples')
220+
forgdingallery_dirs]
221221

222222
sphinx_gallery_conf= {
223223
'backreferences_dir':Path('api')/Path('_as_gen'),

‎doc/devel/documenting_mpl.rst

Lines changed: 9 additions & 7 deletions

‎doc/sphinxext/gallery_order.py

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,37 +11,37 @@
1111
UNSORTED="unsorted"
1212

1313
examples_order= [
14-
'../examples/lines_bars_and_markers',
15-
'../examples/images_contours_and_fields',
16-
'../examples/subplots_axes_and_figures',
17-
'../examples/statistics',
18-
'../examples/pie_and_polar_charts',
19-
'../examples/text_labels_and_annotations',
20-
'../examples/color',
21-
'../examples/shapes_and_collections',
22-
'../examples/style_sheets',
23-
'../examples/pyplots',
24-
'../examples/axes_grid1',
25-
'../examples/axisartist',
26-
'../examples/showcase',
14+
'../galleries/examples/lines_bars_and_markers',
15+
'../galleries/examples/images_contours_and_fields',
16+
'../galleries/examples/subplots_axes_and_figures',
17+
'../galleries/examples/statistics',
18+
'../galleries/examples/pie_and_polar_charts',
19+
'../galleries/examples/text_labels_and_annotations',
20+
'../galleries/examples/color',
21+
'../galleries/examples/shapes_and_collections',
22+
'../galleries/examples/style_sheets',
23+
'../galleries/examples/pyplots',
24+
'../galleries/examples/axes_grid1',
25+
'../galleries/examples/axisartist',
26+
'../galleries/examples/showcase',
2727
UNSORTED,
28-
'../examples/userdemo',
28+
'../galleries/examples/userdemo',
2929
]
3030

3131
tutorials_order= [
32-
'../tutorials/introductory',
33-
'../tutorials/intermediate',
34-
'../tutorials/advanced',
32+
'../galleries/tutorials/introductory',
33+
'../galleries/tutorials/intermediate',
34+
'../galleries/tutorials/advanced',
3535
UNSORTED,
36-
'../tutorials/provisional'
36+
'../galleries/tutorials/provisional'
3737
]
3838

3939
plot_types_order= [
40-
'../plot_types/basic',
41-
'../plot_types/arrays',
42-
'../plot_types/stats',
43-
'../plot_types/unstructured',
44-
'../plot_types/3D',
40+
'../galleries/plot_types/basic',
41+
'../galleries/plot_types/arrays',
42+
'../galleries/plot_types/stats',
43+
'../galleries/plot_types/unstructured',
44+
'../galleries/plot_types/3D',
4545
UNSORTED
4646
]
4747

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp