Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhi authored and martinRenou committed Sep 21, 2021
1 parent c17a0dc commit 522f5e8
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 43 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ dist
coverage
**/*.d.ts
tests
ipympl/nbextension/extension.js
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,9 @@ ipympl/labextension/*.tgz
ipympl/labextension

# OS specific items
.DS_Store
.DS_Store

# Sphinx documentation
docs/_build/
docs/source/_static/embed-bundle.js
docs/source/_static/embed-bundle.js.map
26 changes: 13 additions & 13 deletions css/mpl_widget.css
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
.jupyter-matplotlib {
width: auto;
height: auto;
flex: 1 1 auto;
width: auto;
height: auto;
flex: 1 1 auto;
}

/* Toolbar */

.jupyter-matplotlib-toolbar {
overflow: visible;
overflow: visible;
}

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

/* Figure */

.jupyter-matplotlib-figure {
width: auto;
height: auto;
overflow: hidden;
width: auto;
height: auto;
overflow: hidden;
}

.jupyter-matplotlib-canvas-container {
overflow: auto;
overflow: auto;
}

.jupyter-matplotlib-canvas-div {
margin: 2px;
flex: 1 1 auto;
margin: 2px;
flex: 1 1 auto;
}

.jupyter-matplotlib-canvas-div:focus {
outline: 1px solid var(--jp-widgets-input-focus-border-color);
outline: 1px solid var(--jp-widgets-input-focus-border-color);
}
6 changes: 3 additions & 3 deletions jupyter-matplotlib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"load_extensions": {
"jupyter-matplotlib/extension": true
}
"load_extensions": {
"jupyter-matplotlib/extension": true
}
}
6 changes: 3 additions & 3 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./tsconfig.json",
"include": [".eslintrc.js"],
"exclude": []
"extends": "./tsconfig.json",
"include": [".eslintrc.js", "src/**/*.ts"],
"exclude": []
}
43 changes: 20 additions & 23 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
{
"compilerOptions": {
"declaration": true,
"esModuleInterop":true,
"lib": ["es2015", "dom"],
"module": "esnext",
"moduleResolution": "node",
"noEmitOnError": true,
"noUnusedLocals": true,
"outDir": "lib",
"resolveJsonModule": true,
"rootDir": "src",
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"strictPropertyInitialization": false,
"target": "es2015",
"types": ["jest", "node"]
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
],
"exclude": ["src/**/__tests__"]
"compilerOptions": {
"declaration": true,
"esModuleInterop": true,
"lib": ["es2015", "dom"],
"module": "esnext",
"moduleResolution": "node",
"noEmitOnError": true,
"noUnusedLocals": true,
"outDir": "lib",
"resolveJsonModule": true,
"rootDir": "src",
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"strictPropertyInitialization": false,
"target": "es2015",
"types": ["jest", "node"]
},
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["src/**/__tests__", "nbextension/extension.js"]
}

0 comments on commit 522f5e8

Please sign in to comment.