Anthony Scopatz
22e7345090
should work
2017-02-19 15:40:06 -05:00
Anthony Scopatz
c7a61bbf5d
cleanup
2017-02-14 15:27:40 -05:00
Anthony Scopatz
498fca5aaa
new xoreutils
2017-02-12 18:07:26 -05:00
Hugo Wang
67caabd8d0
keep foreground in proc
2017-02-12 17:16:42 +08:00
Hugo Wang
5368d720fe
moved unthreadable etc decorators to tools
2017-02-12 11:01:24 +08:00
Anthony Scopatz
feb0c9b209
Return of the Jedi
2017-02-07 22:53:28 -05:00
Jamie Bliss
39102ee401
Update vox_on_*
2017-01-14 19:06:49 -05:00
Jamie Bliss
fdb4a6ac35
Update on_transform_command
2017-01-14 18:13:27 -05:00
Jamie Bliss
972ae6e689
Merge remote-tracking branch 'upstream/master' into event-transform_command
2017-01-12 13:22:23 -05:00
Jamie Bliss
5b83ef8040
Add on_transform_command
event, seperate from on_precommand
.
2017-01-01 19:59:12 -05:00
Jean-Benoist Leger
b6d339a825
ret_code should return None not '' when rc==0
...
When the return code is 0, nothing is displayed in the prompt. Empty string was
returned. Returning None have the same behavior, but allows user to use the
syntax "{retcode:{} }" in the prompt for different spacing.
2017-01-02 01:27:34 +01:00
Jamie Bliss
d2de666ac7
Merge remote-tracking branch 'upstream/master' into vox-fs
2016-12-15 22:21:33 -05:00
Hugo Wang
b47aabf654
updated for ut
2016-12-15 22:54:45 +08:00
Hugo Wang
6926a21b9c
updated XONSH_DEBUG debug levels
2016-12-15 22:30:26 +08:00
Jamie Bliss
5e5921802d
add fspath support to vox
2016-12-09 23:14:41 -05:00
Anthony Scopatz
69969988ef
some flake cleanup
2016-11-20 18:49:26 -05:00
Anthony Scopatz
d0ac0c2efc
some cleanup
2016-11-20 17:32:53 -05:00
Anthony Scopatz
8f5aa9d73d
initial bashisms, super broken
2016-11-15 01:01:34 -05:00
laerus
927dd300b6
renamed FORMATTER_DICT to PROMPT_FIELDS
2016-11-02 16:06:35 +02:00
Anthony Scopatz
b8e4adbaf3
Merge pull request #1790 from derekbrokeit/xontrib-mpl_copy-fig
...
xontrib-mpl makes a copy of the current figure before modifying it
2016-10-10 22:35:27 -05:00
Derek Thomas
da250793e7
add iterm2 and inline-image support for xontrib-mpl
...
- requires the use of `iTerm2.app` app for OSX
- requires the presence of package `iterm2_tools` to work
2016-10-09 22:55:42 +08:00
Derek Thomas
99c43bd28e
add doc-string for mplhooks.show
2016-10-09 22:53:32 +08:00
Derek Thomas
ffded5cc7c
add returns to the doc-string for mpl
...
- also, remove the link to forked method because the current methodology
has diverged from it entirely
2016-10-09 22:49:30 +08:00
Derek Thomas
0806b0ff48
mpl now relies on a buffer method as the recommended way to save figure
...
- also, removes reliance on the canvas object in favor of simple
high-level figure methods
2016-10-09 22:47:35 +08:00
Derek Thomas
33c49e55f1
refactor xontrib-mpl
...
- add environment configuration: $XONTRIB_MPL_MINIMAL_DEFAULT
+ defines if the plot will plot will minimize all plots and reduce
margins to nearly nothing
+ if false, the printed plot will attempt meet the same layout as
the figure is meant to contain, but text will look mostly like
single characters unless font size is particularly large compared to
the plot area.
- split the array generation into two functions
+ figure_to_rgb_array now is a simple function that generates a
numpy array of the image representation of the figure.
+ figure_to_tight_array replaces the old figure_to_rgb_array by
taking in a width, height, and minimal boolean.
2016-10-09 21:23:22 +08:00
Derek Thomas
57d1b3b38e
mpl adjusts subplot positions to force no margins
...
- does not use tight layout anymore
2016-10-03 23:51:27 +09:00
Derek Thomas
f3ea7c273d
mpl now iterates over all axes in the figure to change parameters
...
- also added ylabel, xlabel, and title zeroing, so that they do not
interfere with the layout since it cannot be displayed anyway
2016-10-03 23:42:39 +09:00
Derek Thomas
e7f2d5a281
move mpl figure-copy routine to figure_to_rgb_array
...
- this simplifies testing
- this also makes more sense because it copies the figure just when
changes are being applied
- the figure is also closed in this function
2016-10-03 15:59:28 +09:00
Derek Thomas
4e941f7ff4
add inline documentation for mpl figure copy/close
2016-10-03 12:51:43 +09:00
Jamie Bliss
ce98aa8fa9
Allow activation of environments in relative directories.
...
Also disallow the creation of venvs with reserved names
2016-10-02 21:49:38 -04:00
Derek Thomas
aec0430622
xontrib-mpl makes a copy of the current figure before modifying it
2016-10-02 17:18:20 +09:00
Jamie Bliss
50a412e798
don't override built-in names
2016-09-13 21:22:14 -04:00
Jamie Bliss
2afbdcc1dd
Overtesting on Windows
2016-09-13 21:01:50 -04:00
Jamie Bliss
24887c59d8
Normalize paths, so that shenanigans get smoothed out
2016-09-13 20:58:03 -04:00
Jamie Bliss
dc8c5b5b53
Finally fix __iter__() so subdirs work correctly.
...
Also add a test for subdirs
2016-09-13 20:49:34 -04:00
Jamie Bliss
e2c981de78
Add an explicit (and more correct) __contains__()
2016-09-13 20:29:44 -04:00
Jamie Bliss
26c78b1642
Be more complete and helpful about the contents of venv dirs
2016-09-13 20:22:13 -04:00
Jamie Bliss
2e24b9a698
Deal with leading backslash, too
2016-08-28 23:34:11 -04:00
Jamie Bliss
d8bc83cd51
Add some documentations
2016-08-28 13:43:08 -04:00
Jamie Bliss
0d791d1bea
Add events to vox.
2016-08-28 13:37:23 -04:00
Cody Scott
4672438eed
Adding prompt_ret_code to xontribs
2016-08-25 12:32:15 -04:00
Jamie Bliss
311b53b56f
pep8
2016-08-04 22:31:45 -04:00
Jamie Bliss
1fb5ee1757
flake8
2016-08-04 22:28:21 -04:00
Jamie Bliss
9456620991
Use __all__
in the included xontribs
2016-08-04 19:19:28 -04:00
Jamie Bliss
c305592c0b
Remove leftover debugging statement
2016-07-30 03:36:59 -04:00
Jamie Bliss
9d727652c7
Fix #1513
...
Forgot to copy a mutated value on save. Added a test to prevent
regression.
2016-07-30 03:35:39 -04:00
Jamie Bliss
0cc7741d05
Fix up some missed refactorings.
...
(I'm getting sloppy...)
2016-07-21 15:26:37 -04:00
Jamie Bliss
9eadf2707f
It would help if I did it properly. >.>
2016-07-21 15:18:44 -04:00
Jamie Bliss
5b2ac9ba27
Missed a thing.
2016-07-21 15:15:53 -04:00
Jamie Bliss
fa48f29f26
flake8
2016-07-21 14:36:46 -04:00