Skip to content

Commit

Permalink
Merge pull request #358 from jdebacker/plot_docs
Browse files Browse the repository at this point in the history
update bubble plot doc strings
  • Loading branch information
jdebacker authored Oct 2, 2021
2 parents 1dd1b00 + 09d0b28 commit 6d44a2a
Show file tree
Hide file tree
Showing 2 changed files with 508 additions and 412 deletions.
13 changes: 11 additions & 2 deletions ccc/calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,14 @@ def bubble_widget(self, calc, output_variable='mettr',
include_land=False, include_inventories=False,
include_IP=False):
'''
Create a bubble plot widget.
Create a bubble plot widget. The x-axis shows the value of the
output variable, the y are groups (e.g., asset type or industry).
The widget allows for one to click buttons to view the values for
different output variables, choose to look at the baseline
policy values, the reform policy values, or the difference,
switch between values for the corporate and non-corporate
sector. The bubbles' size represent the total assets of a
specific type.
Args:
calc (CCC Calculator object): calc represents the reform
Expand Down Expand Up @@ -1429,7 +1436,9 @@ def asset_bubble(self, calc, output_variable='mettr_mix',
include_inventories=False, include_land=False,
include_IP=False, include_title=False, path=''):
'''
Create a bubble plot.
Create a bubble plot showing the value of the output variable
along the x-axis, asset type groupings on the y-axis, and
bubbles whose size represent the total assets of a specific type.
Args:
calc (CCC Calculator object): calc represents the reform
Expand Down
Loading

0 comments on commit 6d44a2a

Please sign in to comment.