Skip to content

Commit

Permalink
Merge 150ab57 into 5e00a9a
Browse files Browse the repository at this point in the history
  • Loading branch information
jbednar committed Aug 10, 2018
2 parents 5e00a9a + 150ab57 commit a1536ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions examples/user_guide/03-Customizing_Plots.ipynb
Expand Up @@ -287,7 +287,7 @@
" plot: {interpolation: 'steps-mid'}\n",
"```\n",
"\n",
"The reason HoloViews does not encourage the use of yaml is that yaml to literals and cannot express richer objects that can be used in options such as ``Cycle`` or ``Palette``."
"The reason HoloViews does not encourage the use of yaml is that yaml is limited to literals and cannot express richer objects that can be used in options such as ``Cycle`` or ``Palette``."
]
},
{
Expand Down Expand Up @@ -339,7 +339,7 @@
"\n",
"#### ``%%opts``\n",
"\n",
"As shown in the examples above, customizes a particular HoloViws output displayed in a code cell. This application is not global and persists for that object which means settings stay in place if the object is re-displayed. Only accepts the string specification format. All cell magics need to appear *above* any code in the cells they are used in and cannot be used if there is no code in the cell. Only accepts the string specification syntax.\n",
"As shown in the examples above, customizes a particular HoloViews output displayed in a code cell. This application is not global and persists for that object which means settings stay in place if the object is re-displayed. Only accepts the string specification format. All cell magics need to appear *above* any code in the cells they are used in and cannot be used if there is no code in the cell. Only accepts the string specification syntax. Only applied to the output of the cell when it is displayed by IPython, and thus will not apply to objects exported or displayed using a separate mechanism before the cell completes, and does not affect objects created but not displayed in the output of the cell.\n",
"\n",
"#### ``%opts``\n",
"\n",
Expand Down
8 changes: 3 additions & 5 deletions holoviews/core/spaces.py
Expand Up @@ -576,15 +576,13 @@ def __call__(self, *args, **kwargs):
# KeyError is caught separately because it is used to signal
# invalid keys on DynamicMap and should not warn
raise
except:
except Exception as e:
posstr = ', '.join(['%r' % el for el in self.args]) if self.args else ''
kwstr = ', '.join('%s=%r' % (k,v) for k,v in self.kwargs.items())
argstr = ', '.join([el for el in [posstr, kwstr] if el])
message = ("Exception raised in callable '{name}' of type '{ctype}'.\n"
message = ("Callable raised \"{e}\".\n"
"Invoked as {name}({argstr})")
self.warning(message.format(name=self.name,
ctype = type(self.callable).__name__,
argstr=argstr))
self.warning(message.format(name=self.name, argstr=argstr, e=repr(e)))
raise

if hashed_key is not None:
Expand Down

0 comments on commit a1536ce

Please sign in to comment.