Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling default renderer #111

Open
kalvinnchau opened this issue Jul 21, 2017 · 0 comments
Open

Disabling default renderer #111

kalvinnchau opened this issue Jul 21, 2017 · 0 comments

Comments

@kalvinnchau
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant