Skip to content

Commit

Permalink
Fix enum value for 1d plot
Browse files Browse the repository at this point in the history
  • Loading branch information
corranwebster committed Aug 18, 2014
1 parent 23da5c4 commit 7a407d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chaco/plot.py
Expand Up @@ -966,12 +966,12 @@ def plot_1d(self, data, type='scatter_1d', name=None, orientation=None,
if "bottom" in self.origin:
direction = 'normal'
else:
direction = 'reversed'
direction = 'flipped'
else:
if "left" in self.origin:
direction = 'normal'
else:
direction = 'reversed'
direction = 'flipped'

plots = []
if plot_type in ("scatter_1d", "textplot_1d", "line_scatter_1d"):
Expand Down

0 comments on commit 7a407d4

Please sign in to comment.