We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff3ccf2 + bbd71c9 commit 45c9fe6Copy full SHA for 45c9fe6
sidecar/sidecar.py
@@ -33,7 +33,7 @@ class Sidecar(Output):
33
34
@observe('ref')
35
def _validate_ref_anchor(self, *args):
36
- if self.ref.anchor == 'right':
+ if self.ref and self.ref.anchor == 'right':
37
warnings.warn(
38
"`ref` cannot be set when `ref.anchor == 'right'`. "
39
"Proceeding with `ref = None`.", UserWarning
0 commit comments