Added _filter() to tools.py to change 'bardir' -> 'orientation' etc.
Added _filter() to tools.py to change 'bardir' -> 'orientation' etc.

current mapping:

_FILTER_MAP = dict(
    bardir='orientation',
    histogramx='histogram',
    histogramy='histogram'
)

plotly/python-api,plotly/plotly.py,plotly/python-api,plotly/plotly.py,ee-in/python-api,ee-in/python-api,plotly/plotly.py,plotly/python-api,ee-in/python-api