Disabling default renderer
kalvinnchau opened this issue · 0 comments
kalvinnchau commented
Is there a way to disable the default renderer that prints:
ExtendedUnitSpecBuilder(ExtendedUnitSpec(None,None,Bar,Some(
Encoding(None,None,Some(PositionChannelDef(None,None,None,Some(service),
Some(Nominal),None,None,None,None,None)),Some(PositionChannelDef(
None,None,None,Some(in_octets_total),None,None,None,None,None,None)),
None,None,None,None,None,None,None,None,None,None,None))
....
I've defined my own renderer using:
implicit val renderer = vegas.render.ShowRender.using(sb => kernel.display.jsonContent("application/vnd.vegalite.v1+json", sb.toJson))
But the object itself is still printed whenever the plot is defined.
If i just do plot.show
in a separate cell after the fact then it doesn't print out the object and displayed my plot correctly.
Theres something that is making the plot print out the ExtendedUnitSpecBuilder
only when its defined, not sure where to look.