This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import plotly.graph_objects as go | |
def log_histogram(data_list, names=None, bins=None): | |
""" Plot histogram in log scale bins | |
It constructs the numpy histogram with logarithm of data | |
and plots a bar graph with customized ticks and hover. | |
The plotly library does not have the option of ploting logscale |