Skip to content

Commit 64aac11

Browse files
committed
Release 0.16.4
1 parent 83187a7 commit 64aac11

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

README.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@ To remove from kernel listings::
2828
$ jupyter kernelspec remove matlab
2929

3030

31+
Configuration
32+
-------------
33+
The kernel can be configured by adding an ``matlab_kernel_config.py`` file to the
34+
``jupyter`` config path. The ``MatlabKernel`` class offers ``plot_settings`` as a configurable traits.
35+
The available plot settings are:
36+
'format', 'backend', 'width', 'height', and 'resolution'.
37+
38+
.. code:: bash
39+
40+
cat ~/.jupyter/matlab_kernel_config.py
41+
c.MatlabKernel.plot_settings = dict(format='svg')
42+
43+
3144
Troubleshooting
3245
---------------
3346

matlab_kernel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""A Matlab kernel for Jupyter"""
22

3-
__version__ = '0.16.3'
3+
__version__ = '0.16.4'

matlab_kernel/kernel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def get_kernel_json():
4444

4545

4646
class MatlabKernel(MetaKernel):
47+
app_name = 'matlab_kernel'
4748
implementation = "Matlab Kernel"
4849
implementation_version = __version__,
4950
language = "matlab"

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
package_data=PACKAGE_DATA,
3636
include_package_data=True,
3737
data_files=DATA_FILES,
38-
requires=["metakernel (>0.20.8)", "jupyter_client (>=4.4.0)",
38+
requires=["metakernel (>0.23.0)", "jupyter_client (>=4.4.0)",
3939
"ipython (>=4.0.0)"],
40-
install_requires=["metakernel>=0.20.8", "jupyter_client >=4.4.0",
40+
install_requires=["metakernel>=0.23.0", "jupyter_client >=4.4.0",
4141
"ipython>=4.0.0",
4242
"backports.tempfile;python_version<'3.0'",
4343
'wurlitzer>=1.0.2;platform_system!="Windows"']

0 commit comments

Comments
 (0)