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

Commit03197dc

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

File tree

629 files changed

+79
-78
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

+79
-78
lines changed

‎.flake8

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -65,47 +65,47 @@ per-file-ignores =
6565
lib/pylab.py: F401, F403
6666

6767
doc/conf.py: E402
68-
tutorials/advanced/path_tutorial.py: E402
69-
tutorials/advanced/patheffects_guide.py: E402
70-
tutorials/advanced/transforms_tutorial.py: E402, E501
71-
tutorials/colors/colormaps.py: E501
72-
tutorials/colors/colors.py: E402
73-
tutorials/intermediate/artists.py: E402
74-
tutorials/intermediate/constrainedlayout_guide.py: E402
75-
tutorials/intermediate/legend_guide.py: E402
76-
tutorials/intermediate/tight_layout_guide.py: E402
77-
tutorials/introductory/animation_tutorial.py: E501
78-
tutorials/introductory/images.py: E501
79-
tutorials/introductory/pyplot.py: E402, E501
80-
tutorials/text/annotations.py: E402, E501
81-
tutorials/text/mathtext.py: E501
82-
tutorials/text/text_intro.py: E402
83-
tutorials/text/text_props.py: E501
84-
tutorials/text/usetex.py: E501
85-
tutorials/toolkits/axes_grid.py: E501
86-
tutorials/toolkits/axisartist.py: E501
68+
galleries/tutorials/advanced/path_tutorial.py: E402
69+
galleries/tutorials/advanced/patheffects_guide.py: E402
70+
galleries/tutorials/advanced/transforms_tutorial.py: E402, E501
71+
galleries/tutorials/colors/colormaps.py: E501
72+
galleries/tutorials/colors/colors.py: E402
73+
galleries/tutorials/intermediate/artists.py: E402
74+
galleries/tutorials/intermediate/constrainedlayout_guide.py: E402
75+
galleries/tutorials/intermediate/legend_guide.py: E402
76+
galleries/tutorials/intermediate/tight_layout_guide.py: E402
77+
galleries/tutorials/introductory/animation_tutorial.py: E501
78+
galleries/tutorials/introductory/images.py: E501
79+
galleries/tutorials/introductory/pyplot.py: E402, E501
80+
galleries/tutorials/text/annotations.py: E402, E501
81+
galleries/tutorials/text/mathtext.py: E501
82+
galleries/tutorials/text/text_intro.py: E402
83+
galleries/tutorials/text/text_props.py: E501
84+
galleries/tutorials/text/usetex.py: E501
85+
galleries/tutorials/toolkits/axes_grid.py: E501
86+
galleries/tutorials/toolkits/axisartist.py: E501
8787

88-
examples/animation/frame_grabbing_sgskip.py: E402
89-
examples/images_contours_and_fields/tricontour_demo.py: E201
90-
examples/images_contours_and_fields/tripcolor_demo.py: E201
91-
examples/images_contours_and_fields/triplot_demo.py: E201
92-
examples/lines_bars_and_markers/marker_reference.py: E402
93-
examples/misc/print_stdout_sgskip.py: E402
94-
examples/misc/table_demo.py: E201
95-
examples/style_sheets/bmh.py: E501
96-
examples/style_sheets/plot_solarizedlight2.py: E501
97-
examples/subplots_axes_and_figures/demo_constrained_layout.py: E402
98-
examples/text_labels_and_annotations/custom_legends.py: E402
99-
examples/ticks/date_concise_formatter.py: E402
100-
examples/ticks/date_formatters_locators.py: F401
101-
examples/user_interfaces/embedding_in_gtk3_panzoom_sgskip.py: E402
102-
examples/user_interfaces/embedding_in_gtk3_sgskip.py: E402
103-
examples/user_interfaces/embedding_in_gtk4_panzoom_sgskip.py: E402
104-
examples/user_interfaces/embedding_in_gtk4_sgskip.py: E402
105-
examples/user_interfaces/gtk3_spreadsheet_sgskip.py: E402
106-
examples/user_interfaces/gtk4_spreadsheet_sgskip.py: E402
107-
examples/user_interfaces/mpl_with_glade3_sgskip.py: E402
108-
examples/user_interfaces/pylab_with_gtk3_sgskip.py: E402
109-
examples/user_interfaces/pylab_with_gtk4_sgskip.py: E402
110-
examples/userdemo/pgf_preamble_sgskip.py: E402
88+
galleries/examples/animation/frame_grabbing_sgskip.py: E402
89+
galleries/examples/images_contours_and_fields/tricontour_demo.py: E201
90+
galleries/examples/images_contours_and_fields/tripcolor_demo.py: E201
91+
galleries/examples/images_contours_and_fields/triplot_demo.py: E201
92+
galleries/examples/lines_bars_and_markers/marker_reference.py: E402
93+
galleries/examples/misc/print_stdout_sgskip.py: E402
94+
galleries/examples/misc/table_demo.py: E201
95+
galleries/examples/style_sheets/bmh.py: E501
96+
galleries/examples/style_sheets/plot_solarizedlight2.py: E501
97+
galleries/examples/subplots_axes_and_figures/demo_constrained_layout.py: E402
98+
galleries/examples/text_labels_and_annotations/custom_legends.py: E402
99+
galleries/examples/ticks/date_concise_formatter.py: E402
100+
galleries/examples/ticks/date_formatters_locators.py: F401
101+
galleries/examples/user_interfaces/embedding_in_gtk3_panzoom_sgskip.py: E402
102+
galleries/examples/user_interfaces/embedding_in_gtk3_sgskip.py: E402
103+
galleries/examples/user_interfaces/embedding_in_gtk4_panzoom_sgskip.py: E402
104+
galleries/examples/user_interfaces/embedding_in_gtk4_sgskip.py: E402
105+
galleries/examples/user_interfaces/gtk3_spreadsheet_sgskip.py: E402
106+
galleries/examples/user_interfaces/gtk4_spreadsheet_sgskip.py: E402
107+
galleries/examples/user_interfaces/mpl_with_glade3_sgskip.py: E402
108+
galleries/examples/user_interfaces/pylab_with_gtk3_sgskip.py: E402
109+
galleries/examples/user_interfaces/pylab_with_gtk4_sgskip.py: E402
110+
galleries/examples/userdemo/pgf_preamble_sgskip.py: E402
111111
force-check = True

‎doc/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,7 @@ 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}'forgdingallery_dirs]
221220

222221
sphinx_gallery_conf= {
223222
'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