FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib.github.com/3.7.1/_static/sg_gallery.css at main · matplotlib/matplotlib.github.com · GitHub
matplotlib
/
matplotlib.github.com
Public
Notifications
You must be signed in to change notification settings
Fork
62
Star
29
Code
Issues
1
Pull requests
2
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib.github.com
/
3.7.1
/
_static
/
sg_gallery.css
Copy path
More file actions
More file actions
Latest commit
History
History
History
342 lines (320 loc) · 9.31 KB
Breadcrumbs
matplotlib.github.com
/
3.7.1
/
_static
/
sg_gallery.css
Copy path
File metadata and controls
342 lines (320 loc) · 9.31 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
/*
Sphinx-Gallery has compatible CSS to fix default sphinx themes
Tested for Sphinx 1.3.1 for all themes: default, alabaster, sphinxdoc,
scrolls, agogo, traditional, nature, haiku, pyramid
Tested for Read the Docs theme 0.1.7 */
/* Define light colors */
:
root
,
html
[
data-theme
=
"light"
]
,
body
[
data-theme
=
"light"
]{
--sg-tooltip-foreground
:
black;
--sg-tooltip-background
:
rgba
(
250
,
250
,
250
,
0.9
);
--sg-tooltip-border
:
#
ccc
transparent;
--sg-thumb-box-shadow-color
:
#
6c757d40
;
--sg-thumb-hover-border
:
#
0069d9
;
--sg-script-out
:
#
888
;
--sg-script-pre
:
#
fafae2
;
--sg-pytb-foreground
:
#
000
;
--sg-pytb-background
:
#
ffe4e4
;
--sg-pytb-border-color
:
#
f66
;
--sg-download-a-background-color
:
#
ffc
;
--sg-download-a-background-image
:
linear-gradient
(to bottom
,
#
ffc
,
#
d5d57e
);
--sg-download-a-border-color
:
1
px
solid
#
c2c22d
;
--sg-download-a-color
:
#
000
;
--sg-download-a-hover-background-color
:
#
d5d57e
;
--sg-download-a-hover-box-shadow-1
:
rgba
(
255
,
255
,
255
,
0.1
);
--sg-download-a-hover-box-shadow-2
:
rgba
(
0
,
0
,
0
,
0.25
);
}
@media
(
prefers-color-scheme
:
light) {
:
root
[
data-theme
=
"auto"
]
,
html
[
data-theme
=
"auto"
]
,
body
[
data-theme
=
"auto"
] {
--sg-tooltip-foreground
:
black;
--sg-tooltip-background
:
rgba
(
250
,
250
,
250
,
0.9
);
--sg-tooltip-border
:
#
ccc
transparent;
--sg-thumb-box-shadow-color
:
#
6c757d40
;
--sg-thumb-hover-border
:
#
0069d9
;
--sg-script-out
:
#
888
;
--sg-script-pre
:
#
fafae2
;
--sg-pytb-foreground
:
#
000
;
--sg-pytb-background
:
#
ffe4e4
;
--sg-pytb-border-color
:
#
f66
;
--sg-download-a-background-color
:
#
ffc
;
--sg-download-a-background-image
:
linear-gradient
(to bottom
,
#
ffc
,
#
d5d57e
);
--sg-download-a-border-color
:
1
px
solid
#
c2c22d
;
--sg-download-a-color
:
#
000
;
--sg-download-a-hover-background-color
:
#
d5d57e
;
--sg-download-a-hover-box-shadow-1
:
rgba
(
255
,
255
,
255
,
0.1
);
--sg-download-a-hover-box-shadow-2
:
rgba
(
0
,
0
,
0
,
0.25
);
}
}
html
[
data-theme
=
"dark"
]
,
body
[
data-theme
=
"dark"
] {
--sg-tooltip-foreground
:
white;
--sg-tooltip-background
:
rgba
(
10
,
10
,
10
,
0.9
);
--sg-tooltip-border
:
#
333
transparent;
--sg-thumb-box-shadow-color
:
#
79848d40
;
--sg-thumb-hover-border
:
#
003975
;
--sg-script-out
:
rgb
(
179
,
179
,
179
);
--sg-script-pre
:
#
2e2e22
;
--sg-pytb-foreground
:
#
fff
;
--sg-pytb-background
:
#
1b1717
;
--sg-pytb-border-color
:
#
622
;
--sg-download-a-background-color
:
#
443
;
--sg-download-a-background-image
:
linear-gradient
(to bottom
,
#
443
,
#
221
);
--sg-download-a-border-color
:
1
px
solid
#
3a3a0d
;
--sg-download-a-color
:
#
fff
;
--sg-download-a-hover-background-color
:
#
616135
;
--sg-download-a-hover-box-shadow-1
:
rgba
(
0
,
0
,
0
,
0.1
);
--sg-download-a-hover-box-shadow-2
:
rgba
(
255
,
255
,
255
,
0.25
);
}
@media
(
prefers-color-scheme
:
dark){
html
[
data-theme
=
"auto"
]
,
body
[
data-theme
=
"auto"
] {
--sg-tooltip-foreground
:
white;
--sg-tooltip-background
:
rgba
(
10
,
10
,
10
,
0.9
);
--sg-tooltip-border
:
#
333
transparent;
--sg-thumb-box-shadow-color
:
#
79848d40
;
--sg-thumb-hover-border
:
#
003975
;
--sg-script-out
:
rgb
(
179
,
179
,
179
);
--sg-script-pre
:
#
2e2e22
;
--sg-pytb-foreground
:
#
fff
;
--sg-pytb-background
:
#
1b1717
;
--sg-pytb-border-color
:
#
622
;
--sg-download-a-background-color
:
#
443
;
--sg-download-a-background-image
:
linear-gradient
(to bottom
,
#
443
,
#
221
);
--sg-download-a-border-color
:
1
px
solid
#
3a3a0d
;
--sg-download-a-color
:
#
fff
;
--sg-download-a-hover-background-color
:
#
616135
;
--sg-download-a-hover-box-shadow-1
:
rgba
(
0
,
0
,
0
,
0.1
);
--sg-download-a-hover-box-shadow-2
:
rgba
(
255
,
255
,
255
,
0.25
);
}
}
.
sphx-glr-thumbnails
{
width
:
100
%
;
margin
:
0
px
0
px
20
px
0
px
;
/* align thumbnails on a grid */
justify-content
:
space-between;
display
:
grid;
/* each grid column should be at least 160px (this will determine
the actual number of columns) and then take as much of the
remaining width as possible */
grid-template-columns
:
repeat
(auto-fill
,
minmax
(
160
px
,
1
fr
));
gap
:
15
px
;
}
.
sphx-glr-thumbnails
.
toctree-wrapper
{
/* hide empty toctree divs added to the DOM
by sphinx even though the toctree is hidden
(they would fill grid places with empty divs) */
display
:
none;
}
.
sphx-glr-thumbcontainer
{
background
:
transparent;
-moz-border-radius
:
5
px
;
-webkit-border-radius
:
5
px
;
border-radius
:
5
px
;
box-shadow
:
0
0
10
px
var
(
--sg-thumb-box-shadow-color
);
/* useful to absolutely position link in div */
position
:
relative;
/* thumbnail width should include padding and borders
and take all available space */
box-sizing
:
border-box;
width
:
100
%
;
padding
:
10
px
;
border
:
1
px
solid transparent;
/* align content in thumbnail */
display
:
flex;
flex-direction
:
column;
align-items
:
center;
gap
:
7
px
;
}
.
sphx-glr-thumbcontainer
p
{
position
:
absolute;
top
:
0
;
left
:
0
;
}
.
sphx-glr-thumbcontainer
p
,
.
sphx-glr-thumbcontainer
p
a
{
/* link should cover the whole thumbnail div */
width
:
100
%
;
height
:
100
%
;
}
.
sphx-glr-thumbcontainer
p
a
span
{
/* text within link should be masked
(we are just interested in the href) */
display
:
none;
}
.
sphx-glr-thumbcontainer
:
hover
{
border
:
1
px
solid;
border-color
:
var
(
--sg-thumb-hover-border
);
cursor
:
pointer;
}
.
sphx-glr-thumbcontainer
a
.
internal
{
bottom
:
0
;
display
:
block;
left
:
0
;
box-sizing
:
border-box;
padding
:
150
px
10
px
0
;
position
:
absolute;
right
:
0
;
top
:
0
;
}
/* Next one is to avoid Sphinx traditional theme to cover all the
thumbnail with its default link Background color */
.
sphx-glr-thumbcontainer
a
.
internal
:
hover
{
background-color
:
transparent;
}
.
sphx-glr-thumbcontainer
p
{
margin
:
0
0
0.1
em
0
;
}
.
sphx-glr-thumbcontainer
.
figure
{
margin
:
10
px
;
width
:
160
px
;
}
.
sphx-glr-thumbcontainer
img
{
display
:
inline;
max-height
:
112
px
;
max-width
:
160
px
;
}
.
sphx-glr-thumbcontainer
[
tooltip
]
:
hover
:
after
{
background
:
var
(
--sg-tooltip-background
);
-webkit-border-radius
:
4
px
;
-moz-border-radius
:
4
px
;
border-radius
:
4
px
;
color
:
var
(
--sg-tooltip-foreground
);
content
:
attr
(tooltip);
padding
:
10
px
;
z-index
:
98
;
width
:
100
%
;
height
:
100
%
;
position
:
absolute;
pointer-events
:
none;
top
:
0
;
box-sizing
:
border-box;
overflow
:
hidden;
backdrop-filter
:
blur
(
3
px
);
}
.
sphx-glr-script-out
{
color
:
var
(
--sg-script-out
);
display
:
flex;
gap
:
0.5
em
;
}
.
sphx-glr-script-out
::
before
{
content
:
"Out:"
;
/* These numbers come from the pre style in the pydata sphinx theme. This
* turns out to match perfectly on the rtd theme, but be a bit too low for
* the pydata sphinx theme. As I could not find a dimension to use that was
* scaled the same way, I just picked one option that worked pretty close for
* both. */
line-height
:
1.4
;
padding-top
:
10
px
;
}
.
sphx-glr-script-out
.
highlight
{
background-color
:
transparent;
/* These options make the div expand... */
flex-grow
:
1
;
/* ... but also keep it from overflowing its flex container. */
overflow
:
auto;
}
.
sphx-glr-script-out
.
highlight
pre
{
background-color
:
var
(
--sg-script-pre
);
border
:
0
;
max-height
:
30
em
;
overflow
:
auto;
padding-left
:
1
ex
;
/* This margin is necessary in the pydata sphinx theme because pre has a box
* shadow which would be clipped by the overflow:auto in the parent div
* above. */
margin
:
2
px
;
word-break
:
break-word;
}
.
sphx-glr-script-out
+
p
{
margin-top
:
1.8
em
;
}
blockquote
.
sphx-glr-script-out
{
margin-left
:
0
pt
;
}
.
sphx-glr-script-out
.
highlight-pytb
.
highlight
pre
{
color
:
var
(
--sg-pytb-foreground
);
background-color
:
var
(
--sg-pytb-background
);
border
:
1
px
solid
var
(
--sg-pytb-border-color
);
margin-top
:
10
px
;
padding
:
7
px
;
}
div
.
sphx-glr-footer
{
text-align
:
center;
}
div
.
sphx-glr-download
{
margin
:
1
em
auto;
vertical-align
:
middle;
}
div
.
sphx-glr-download
a
{
background-color
:
var
(
--sg-download-a-background-color
);
background-image
:
var
(
--sg-download-a-background-image
);
border-radius
:
4
px
;
border
:
1
px
solid
var
(
--sg-download-a-border-color
);
color
:
var
(
--sg-download-a-color
);
display
:
inline-block;
font-weight
:
bold;
padding
:
1
ex
;
text-align
:
center;
}
div
.
sphx-glr-download
code
.
download
{
display
:
inline-block;
white-space
:
normal;
word-break
:
normal;
overflow-wrap
:
break-word;
/* border and background are given by the enclosing 'a' */
border
:
none;
background
:
none;
}
div
.
sphx-glr-download
a
:
hover
{
box-shadow
:
inset
0
1
px
0
var
(
--sg-download-a-hover-box-shadow-1
)
,
0
1
px
5
px
var
(
--sg-download-a-hover-box-shadow-2
);
text-decoration
:
none;
background-image
:
none;
background-color
:
var
(
--sg-download-a-hover-background-color
);
}
.
sphx-glr-example-title
:
target
::
before
{
display
:
block;
content
:
""
;
margin-top
:
-50
px
;
height
:
50
px
;
visibility
:
hidden;
}
ul
.
sphx-glr-horizontal
{
list-style
:
none;
padding
:
0
;
}
ul
.
sphx-glr-horizontal
li
{
display
:
inline;
}
ul
.
sphx-glr-horizontal
img
{
height
:
auto
!important
;
}
.
sphx-glr-single-img
{
margin
:
auto;
display
:
block;
max-width
:
100
%
;
}
.
sphx-glr-multi-img
{
max-width
:
42
%
;
height
:
auto;
}
div
.
sphx-glr-animation
{
margin
:
auto;
display
:
block;
max-width
:
100
%
;
}
div
.
sphx-glr-animation
.
animation
{
display
:
block;
}
p
.
sphx-glr-signature
a
.
reference
.
external
{
-moz-border-radius
:
5
px
;
-webkit-border-radius
:
5
px
;
border-radius
:
5
px
;
padding
:
3
px
;
font-size
:
75
%
;
text-align
:
right;
margin-left
:
auto;
display
:
table;
}
.
sphx-glr-clear
{
clear
:
both;
}
a
.
sphx-glr-backref-instance
{
text-decoration
:
none;
}
Back
|
FazBrowse Home
|
New Git URL