mendeleev.vis.utils

Functions

add_tile_coordinates(df[, x_coord, y_coord, ...])

Calculate coordinates for the tile centers

colormap_column(elements, column[, cmap, ...])

Return a new DataFrame with the same size (and index) as elements with a column cmap containing HEX color mapping from cmap colormap.

create_vis_dataframe([x_coord, y_coord, ...])

Base DataFrame for visualizations