ENH: allow encoding tooltip=None
@@ -1252,9 +1252,9 @@ class EncodingMixin(object):
else:
if condition is not Undefined:
obj['condition'] = _wrap_in_channel_class(condition, prop)
+ if obj is not None:
kwargs[prop] = _wrap_in_channel_class(obj, prop)
-
copy = self.copy(deep=True, ignore=['data'])
# get a copy of the dict representation of the previous encoding
