Skip to content

Commit 522f5e8

Browse files
ianhimartinRenou
authored andcommitted
run prettier
1 parent c17a0dc commit 522f5e8

6 files changed

+46
-43
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ dist
33
coverage
44
**/*.d.ts
55
tests
6+
ipympl/nbextension/extension.js

.gitignore

+6-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,9 @@ ipympl/labextension/*.tgz
2929
ipympl/labextension
3030

3131
# OS specific items
32-
.DS_Store
32+
.DS_Store
33+
34+
# Sphinx documentation
35+
docs/_build/
36+
docs/source/_static/embed-bundle.js
37+
docs/source/_static/embed-bundle.js.map

css/mpl_widget.css

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
.jupyter-matplotlib {
2-
width: auto;
3-
height: auto;
4-
flex: 1 1 auto;
2+
width: auto;
3+
height: auto;
4+
flex: 1 1 auto;
55
}
66

77
/* Toolbar */
88

99
.jupyter-matplotlib-toolbar {
10-
overflow: visible;
10+
overflow: visible;
1111
}
1212

1313
.jupyter-matplotlib-button {
14-
width: calc(var(--jp-widgets-inline-width-tiny) / 2 - 2px);
15-
padding: 0 !important;
14+
width: calc(var(--jp-widgets-inline-width-tiny) / 2 - 2px);
15+
padding: 0 !important;
1616
}
1717

1818
/* Figure */
1919

2020
.jupyter-matplotlib-figure {
21-
width: auto;
22-
height: auto;
23-
overflow: hidden;
21+
width: auto;
22+
height: auto;
23+
overflow: hidden;
2424
}
2525

2626
.jupyter-matplotlib-canvas-container {
27-
overflow: auto;
27+
overflow: auto;
2828
}
2929

3030
.jupyter-matplotlib-canvas-div {
31-
margin: 2px;
32-
flex: 1 1 auto;
31+
margin: 2px;
32+
flex: 1 1 auto;
3333
}
3434

3535
.jupyter-matplotlib-canvas-div:focus {
36-
outline: 1px solid var(--jp-widgets-input-focus-border-color);
36+
outline: 1px solid var(--jp-widgets-input-focus-border-color);
3737
}

jupyter-matplotlib.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"load_extensions": {
3-
"jupyter-matplotlib/extension": true
4-
}
2+
"load_extensions": {
3+
"jupyter-matplotlib/extension": true
4+
}
55
}

tsconfig.eslint.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "./tsconfig.json",
3-
"include": [".eslintrc.js"],
4-
"exclude": []
2+
"extends": "./tsconfig.json",
3+
"include": [".eslintrc.js", "src/**/*.ts"],
4+
"exclude": []
55
}

tsconfig.json

+20-23
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
11
{
2-
"compilerOptions": {
3-
"declaration": true,
4-
"esModuleInterop":true,
5-
"lib": ["es2015", "dom"],
6-
"module": "esnext",
7-
"moduleResolution": "node",
8-
"noEmitOnError": true,
9-
"noUnusedLocals": true,
10-
"outDir": "lib",
11-
"resolveJsonModule": true,
12-
"rootDir": "src",
13-
"skipLibCheck": true,
14-
"sourceMap": true,
15-
"strict": true,
16-
"strictPropertyInitialization": false,
17-
"target": "es2015",
18-
"types": ["jest", "node"]
19-
},
20-
"include": [
21-
"src/**/*.ts",
22-
"src/**/*.tsx",
23-
],
24-
"exclude": ["src/**/__tests__"]
2+
"compilerOptions": {
3+
"declaration": true,
4+
"esModuleInterop": true,
5+
"lib": ["es2015", "dom"],
6+
"module": "esnext",
7+
"moduleResolution": "node",
8+
"noEmitOnError": true,
9+
"noUnusedLocals": true,
10+
"outDir": "lib",
11+
"resolveJsonModule": true,
12+
"rootDir": "src",
13+
"skipLibCheck": true,
14+
"sourceMap": true,
15+
"strict": true,
16+
"strictPropertyInitialization": false,
17+
"target": "es2015",
18+
"types": ["jest", "node"]
19+
},
20+
"include": ["src/**/*.ts", "src/**/*.tsx"],
21+
"exclude": ["src/**/__tests__", "nbextension/extension.js"]
2522
}

0 commit comments

Comments
 (0)