Skip to content

Commit

Permalink
fix colormap spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyAndroulakis committed Aug 15, 2023
1 parent 0e18263 commit 262d967
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/development-notes/py-ts-messaging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The ``Niivue.run_custom_code`` function displays this implementation.

.. code:: py
>>> colormaps = nv.run_custom_code('nv.colorMaps()')
>>> colormaps = nv.run_custom_code('nv.colormaps()')
Done.
>>> print(colormaps)
Expand Down
4 changes: 2 additions & 2 deletions examples/custom_code.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
},
"outputs": [],
"source": [
"colormaps = nv.run_custom_code('this.nv.colorMaps()')\n",
"colormaps = nv.run_custom_code('this.nv.colormaps()')\n",
"colormaps"
]
},
Expand Down Expand Up @@ -227,7 +227,7 @@
"source": [
"code = '''\n",
"var nv = this.nv;\n",
"function getColorMap() {\n",
"function getColormap() {\n",
" var id = nv.volumes[0].id;\n",
" return nv.colormap(id);\n",
"}\n",
Expand Down

0 comments on commit 262d967

Please sign in to comment.