We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug:
import algviz viz = algviz.Visualizer(1) grid = viz.createTable(1, 1, [[1]], show_index=False) r = viz.createCursor(0, 'r') c = viz.createCursor(0, 'c') grid[r][c] viz.display()
Table._add_cursor_(self, cursor, is_row) ... --> 413 self._svg.update_text_element(self._row_index2text[r], (pos_x, pos_y)) 414 for c in range(self._col): 415 pos_x = (c + 0.5) * self._cell_width - self._label_font_size * len(str(c)) * 0.25 + self._cell_margin + self._row_cursor_mgr.get_cursors_occupy() AttributeError: 'Table' object has no attribute '_row_index2text'
Test enviroment:
Additional context: Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
import algviz viz = algviz.Visualizer(1) grid = viz.createTable(1, 1, [[1]], show_index=True) r = viz.createCursor(0, 'r') c = viz.createCursor(0, 'c') grid[r][c] viz.display()
This code can get the expect results.
Sorry, something went wrong.
Fix bug: access table with cursor throw exception when "show_index=Fa…
264c01a
…lse" #5
Fixed in commit: 3b7b6f7
zjl9959
No branches or pull requests
Describe the bug:
Test enviroment:
Additional context:
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: