-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
- Loading branch information
1 parent
30f8caa
commit ae9103a
Showing
8 changed files
with
118 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,3 @@ module.exports = { | |
], | ||
], | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,28 @@ | ||
import sys | ||
from ._version import version_info, __version__ # noqa | ||
|
||
from ._version import __version__, version_info # noqa | ||
|
||
npm_pkg_name = 'jupyter-matplotlib' | ||
|
||
|
||
def _jupyter_labextension_paths(): | ||
return [{ | ||
'src': 'labextension', | ||
'dest': npm_pkg_name | ||
}] | ||
return [{'src': 'labextension', 'dest': npm_pkg_name}] | ||
|
||
|
||
def _jupyter_nbextension_paths(): | ||
return [{ | ||
'section': 'notebook', | ||
'src': 'nbextension', | ||
'dest': npm_pkg_name, | ||
'require': npm_pkg_name + '/extension' | ||
}] | ||
return [ | ||
{ | ||
'section': 'notebook', | ||
'src': 'nbextension', | ||
'dest': npm_pkg_name, | ||
'require': npm_pkg_name + '/extension', | ||
} | ||
] | ||
|
||
|
||
# __init__.py is used by the nbextension installation. | ||
# Conda cannot have dependencies for post-link scripts. | ||
if 'matplotlib' in sys.modules: | ||
import matplotlib | ||
|
||
matplotlib.use('module://ipympl.backend_nbagg') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.