Skip to content

Commit

Permalink
restrict sample marks to data part
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilipp committed Apr 5, 2019
1 parent 03fb21c commit b17d019
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions straditize/straditizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1233,10 +1233,10 @@ def new_mark_and_range(key, row, row_indices):
full_df = reader._full_df
self.remove_marks()
ax = self.ax
idx_v = self.indexes['y']
idx_h = self.column_indexes
xlim = self.data_xlim
ylim = self.data_ylim
idx_v = self.indexes['y'][slice(*map(int, ylim))]
idx_h = self.column_indexes
starts = reader.all_column_starts + xlim[0]
if not len(df):
self.marks = marks = []
Expand Down

0 comments on commit b17d019

Please sign in to comment.