Skip to content

Commit 164b511

Browse files
authored
Merge pull request #92 from simpeg/plotSlice_Testing
Added range_x, range_y, and sample_grid input arguments to plotSlice.
2 parents b77837c + 6b6f5b6 commit 164b511

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[bumpversion]
2-
current_version = 0.1.18
2+
current_version = 0.1.19
33
files = setup.py discretize/__init__.py docs/conf.py
44

discretize/View.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@ def plotSlice(
194194
pcolorOpts=None,
195195
streamOpts=None,
196196
gridOpts=None,
197-
range_x=None, range_y=None,
197+
range_x=None,
198+
range_y=None,
199+
sample_grid=None,
198200
stream_threshold=None
199201
):
200202

@@ -315,7 +317,11 @@ def doSlice(v):
315317
grid=grid, view=view,
316318
ax=ax, clim=clim, showIt=showIt,
317319
pcolorOpts=pcolorOpts, streamOpts=streamOpts,
318-
gridOpts=gridOpts, stream_threshold=stream_threshold
320+
gridOpts=gridOpts,
321+
range_x=range_x,
322+
range_y=range_y,
323+
sample_grid=sample_grid,
324+
stream_threshold=stream_threshold
319325
)
320326

321327
ax.set_xlabel('y' if normal == 'X' else 'x')

discretize/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"""
1919
)
2020

21-
__version__ = '0.1.18'
21+
__version__ = '0.1.19'
2222
__author__ = 'SimPEG Team'
2323
__license__ = 'MIT'
2424
__copyright__ = '2013 - 2017, SimPEG Developers, http://simpeg.xyz'

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@
6060
# built documents.
6161
#
6262
# The short X.Y version.
63-
version = '0.1.18'
63+
version = '0.1.19'
6464
# The full version, including alpha/beta/rc tags.
65-
release = '0.1.18'
65+
release = '0.1.19'
6666

6767
# The language for content autogenerated by Sphinx. Refer to documentation
6868
# for a list of supported languages.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def configuration(parent_package='', top_path=None):
5656

5757
setup(
5858
name="discretize",
59-
version="0.1.18",
59+
version="0.1.19",
6060
install_requires=[
6161
'numpy>=1.7',
6262
'scipy>=0.13',

0 commit comments

Comments
 (0)