849729af279adeb657bd3d864df84aa038b79c3d,examples/plotting/file/periodic.py,,,#,7

Before Change


elements = periodic_table.elements[periodic_table.elements["group"] != "-"]

group_range = [str(x) for x in range(1,19)]
period_range = [str(x) for x in reversed(sorted(set(elements["period"])))]

colormap = {
    "alkali metal"         : "//a6cee3",
    "alkaline earth metal" : "/Ǘf78b4",

After Change


)

p = figure(title="Periodic Table", tools="resize,hover,save",
           x_range=group_range, y_range=list(reversed(romans)))
p.plot_width = 1200
p.toolbar_location = None
p.outline_line_color = None

p.rect("group", "period", 0.9, 0.9, source=source,
       fill_alpha=0.6, color="type_color")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: bokeh/bokeh
Commit Name: 849729af279adeb657bd3d864df84aa038b79c3d
Time: 2015-12-22
Author: bryanv@continuum.io
File Name: examples/plotting/file/periodic.py
Class Name:
Method Name:


Project Name: pantsbuild/pants
Commit Name: fac976efbc71aef758382015854f550c57d96461
Time: 2015-11-13
Author: tansy.arron@gmail.com
File Name: src/python/pants/backend/core/tasks/sorttargets.py
Class Name: SortTargets
Method Name: console_output


Project Name: onnx/onnx-coreml
Commit Name: 7f7a30cae66e7d65917ceea966225292f582d809
Time: 2019-10-04
Author: bhushan.s.94@gmail.com
File Name: onnx_coreml/_transformers.py
Class Name: DeadCodeElimination
Method Name: __call__