Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
backwards compatibility
  • Loading branch information
yankev committed May 9, 2016
commit 7eca18573554113fac1688a8062dbb7ee5a221e4
5 changes: 4 additions & 1 deletion plotly/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -2450,9 +2450,12 @@ def create_distplot(hist_data, group_labels,
"""
# TODO: protected until #282
from plotly.graph_objs import graph_objs
FigureFactory._validate_distplot(hist_data, curve_type) #<--- working on this right now
FigureFactory._validate_distplot(hist_data, curve_type)
FigureFactory._validate_equal_length(hist_data, group_labels)

if isinstance(bin_size, float):
bin_size = [bin_size]

hist = _Distplot(
hist_data, group_labels, bin_size,
curve_type, colors, rug_text,
Expand Down