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

Errors in Calculator.asset_bubble() method #339

Open
jdebacker opened this issue Mar 18, 2021 · 0 comments
Open

Errors in Calculator.asset_bubble() method #339

jdebacker opened this issue Mar 18, 2021 · 0 comments
Labels
good first issue Hacktoberfest Issue highlighted for Hacktoberfest participants help wanted

Comments

@jdebacker
Copy link
Member

jdebacker commented Mar 18, 2021

After creating two Calculator objects, named calc1 and calc2 and running:

bplot = calc1.asset_bubble(calc2)
show(bplot)

two warning messages result:

WARNING:bokeh.core.validation.check:W-1000 (MISSING_RENDERERS): Plot has no renderers: Figure(id='1663', ...)
WARNING:bokeh.core.validation.check:W-1000 (MISSING_RENDERERS): Plot has no renderers: Figure(id='1720', ...)

And no Bokeh plot object is displayed. This error the results in no plot object being created seems to have arisen with more recent versions of Bokeh, although the widget has never come out looking exactly as one would like it.

An example of instantiating and running these Calculator objects and calling the asset_bubble method of the Calculator class is provided in PSL_demo.ipynb (in the documentation here.

The result looks like the following:

Screen Shot 2021-09-27 at 4 14 18 PM

Execution results in two warnings and the resulting plot is missing the key showing the mapping between total assets and bubble size (which used to appear in a box under "Asset Size" at the bottom of the figure).

@jdebacker jdebacker changed the title Bokeh bubble plot/widget Errors in Calculator.asset_bubble() method Sep 27, 2021
@jdebacker jdebacker added good first issue help wanted Hacktoberfest Issue highlighted for Hacktoberfest participants labels Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Hacktoberfest Issue highlighted for Hacktoberfest participants help wanted
Projects
None yet
Development

No branches or pull requests

1 participant