MCPcopy Create free account
hub / github.com/mlco2/codecarbon / get_emissions_tab

Method get_emissions_tab

codecarbon/viz/components.py:410–423  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

408
409 @staticmethod
410 def get_emissions_tab():
411 return dcc.Tab(
412 label="Emissions Equivalent",
413 value="emissions_tab",
414 id="global_emissions",
415 children=[
416 html.Div(
417 dbc.Col(
418 dcc.Graph(id="global_emissions_choropleth"),
419 style={"marginLeft": "-16%"},
420 )
421 )
422 ],
423 )
424
425 @staticmethod
426 def get_energy_mix_tab():

Callers 1

get_global_comparisonMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected