DOC: fix stray admonition in altairplot sphinx extension
@@ -230,7 +230,6 @@ def html_visit_altair_plot(self, node):
output_literal = nodes.literal_block(stdout, stdout)
output_literal['language'] = 'none'
node.extend([output_literal])
- self.visit_admonition(node)
elif output == 'repr':
if chart is None:
raise nodes.SkipNode
@@ -239,7 +238,6 @@ def html_visit_altair_plot(self, node):
repr_literal = nodes.literal_block(rep, rep)
repr_literal['language'] = 'none'
node.extend([repr_literal])
- self.visit_admonition(node)
elif output == 'plot':
if isinstance(chart, alt.TopLevelMixin):
# Last line should be a chart; convert to spec dict
