Skip to content

Sparklines Figure Factory #888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 23 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions plotly/figure_factory/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from plotly.figure_factory._ohlc import create_ohlc
from plotly.figure_factory._quiver import create_quiver
from plotly.figure_factory._scatterplot import create_scatterplotmatrix
from plotly.figure_factory._sparkline import create_sparkline
from plotly.figure_factory._streamline import create_streamline
from plotly.figure_factory._table import create_table
from plotly.figure_factory._trisurf import create_trisurf
Expand Down
2 changes: 2 additions & 0 deletions plotly/figure_factory/_bullet.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
pd = optional_imports.get_module('pandas')


# TODO: replace by same function in plotly/figure_factory/utils.py
def is_sequence(obj):
return (isinstance(obj, collections.Sequence) and
not isinstance(obj, str))
Expand Down Expand Up @@ -164,6 +165,7 @@ def _bullet(df, markers, measures, ranges, subtitles, titles, orientation,
return fig


# TODO: replace scatter_options with None in function signature
def create_bullet(data, markers=None, measures=None, ranges=None,
subtitles=None, titles=None, orientation='h',
range_colors=('rgb(200, 200, 200)', 'rgb(245, 245, 245)'),
Expand Down
Loading