8000 Text box widget by Nodraak · Pull Request #14 · fariza/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Text box widget #14

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 21 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
e0440cc
Added a text entry widget, that allows usere to register to be notifi…
HastingsGreer Oct 27, 2015
5b06d3f
resolved merge conflict in CHANGELOG
HastingsGreer Jan 25, 2016
23c5a74
Added description of textbox widget and example
HastingsGreer Oct 31, 2015
1f37c22
Added a text box example: evaluates any string inputs as y(x).
HastingsGreer Oct 31, 2015
507b6a4
Whitespace adjustments for PEP8 compliance
HastingsGreer Oct 31, 2015
ff8afc3
Removed a newline that was accidentally commited
HastingsGreer Oct 31, 2015
f1df42f
removed w accidentally added to the first line
HastingsGreer Oct 31, 2015
606d4a3
fixed PEP8 formatting
HastingsGreer Oct 31, 2015
02b9ffd
Fixed formatting of textbox widget entry in whats_new.rst
HastingsGreer Oct 31, 2015
497452e
formatting changes for Pep8 compliance
HastingsGreer Nov 3, 2015
382057d
removed "time the" from end of document, added last commit by mistake
HastingsGreer Nov 3, 2015
06ab4ce
refactored "start typing" and "stop typing" into their own functions …
HastingsGreer Jan 20, 2016
9826a3c
fixed typos from last commit
HastingsGreer Jan 20, 2016
bf4bccd
made textbox lose focus when window is resized: this prevents cursor …
HastingsGreer Jan 20, 2016
954dfd0
added adjustable padding between label and text box
HastingsGreer Jan 20, 2016
b26ec58
removed trailing whitespace
HastingsGreer Jan 25, 2016
0025a26
enabled moving the cursor by clicking
HastingsGreer Feb 13, 2016
2734051
Document feature: caret can be moved by clicking
HastingsGreer Feb 26, 2016
2bf21ab
Merge branch 'text-box-widget' of https://github.com/QuadmasterXLII/m…
fariza Aug 27, 2016
d810d6b
[Widget/Text] Dont validate the input when clicking outside of the wi…
Nodraak Aug 27, 2016
37ec9de
[Widget/Text] Fix: AttributeError: 'AxesSubplot' object has no attrib…
Nodraak Aug 27, 2016
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
Prev Previous commit
[Widget/Text] Fix: AttributeError: 'AxesSubplot' object has no attrib…
…ute 'set_facecolor'
  • Loading branch information
8000
Nodraak committed Aug 27, 2016
commit 37ec9de4c36af3e13b09b5f5a9320c354feff2f0
2 changes: 0 additions & 2 deletions lib/matplotlib/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,6 @@ def __init__(self, ax, label, initial='',
self.connect_event('key_press_event', self._keypress)
self.connect_event('resize_event', self._resize)
ax.set_navigate(False)
ax.set_facecolor(color)
ax.set_xticks([])
ax.set_yticks([])
self.color = color
Expand Down Expand Up @@ -887,7 +886,6 @@ def _motion(self, event):
else:
c = self.color
if c != self._lastcolor:
self.ax.set_facecolor(c)
self._lastcolor = c
if self.drawon:
self.ax.figure.canvas.draw()
Expand Down
0