Skip to content

Commit 27d7eee

Browse files
committed
Integrate API_CHANGES into CHANGELOG
1 parent 5f1f71a commit 27d7eee

File tree

2 files changed

+26
-57
lines changed

2 files changed

+26
-57
lines changed

API_CHANGES

Lines changed: 0 additions & 41 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@ since version 1.3.0.
226226
`scikit.vectorplot`).
227227
- Remove deprecated `NetCDFFile`.
228228
- Add `"zorder"` keyword to `drawmapscale`.
229+
- Change default value for `"lakes"` kwarg in `drawlsmask` from False to True
230+
(**API change**).
231+
- Change default value for `"inlands"` kwarg in `maskoceans` from False to
232+
True (**API change**).
229233

230234
## 1.0.1 (svn revision 8967)
231235

@@ -371,10 +375,10 @@ since version 1.3.0.
371375
and meridians so they are not included in a legend.
372376
- Add `drawmapscale` method to create a map scale bar similar to that available
373377
with the GMT's psbasemap.
374-
- Now lives in `mpl_toolkits.basemap`. Instead of
378+
- Now lives in `mpl_toolkits.basemap` (**API change**). Instead of
375379
`from matplotlib.toolkits.basemap import Basemap`, use
376380
`from mpl_toolkits.basemap import Basemap`. All examples changed. Uses
377-
`matplotlib mpl_toolkits` namespace package, so `basemap` can now be
381+
`matplotlib mpl_toolkits` namespace package, so `basemap` can now be
378382
installed if `matplotlib` is installed as an egg. Python 2.3 support
379383
re-enabled.
380384
- Change `_geos` to `_geoslib`, so as not to conflict with the Python module
@@ -515,9 +519,9 @@ since version 1.3.0.
515519
- Fix several bugs in `drawlsmask` method.
516520
- Remove buggy optimizations for cylindrical projections not crossing the
517521
Greenwich meridian.
518-
- Can now specify map projection region by setting width and height in
519-
projection coordinates (in meters) instead of specifying lat/lon of
520-
upper-right and lower-left corners.
522+
- Can now specify map projection region in `Basemap.__init__` by setting
523+
width and height in projection coordinates (in meters) instead of
524+
specifying lat/lon of upper-right and lower-left corners (**API change**).
521525

522526
## 0.9.1 - 2006-07-27
523527

@@ -586,7 +590,8 @@ since version 1.3.0.
586590
## 0.7.2 - 2005-10-18
587591

588592
- No longer requires `numarray` (`interp` function no longer uses
589-
`numarray.nd_image`).
593+
`numarray.nd_image`). This means that `interp` does not accept `"mode"` and
594+
`"cval"` any longer (**API change**). `"order"` keyword must be 0 or 1.
590595
- Modify to work with the new `ContourSet` returned by `contour` and
591596
`contourf`.
592597
- Turn off axes frame by default for non-rectangular projections (`"ortho"`,
@@ -649,16 +654,18 @@ since version 1.3.0.
649654
## 0.5.2 - 2005-06-28
650655

651656
- Fix bug in meridian labelling when lon > 360 or lon < -180.
652-
- Now fully "pylab-free" if `"ax"` keyword is used in `Basemap.__init__` or
653-
all of the `Basemap` methods that do drawing.
657+
- Add `"ax"` keyword to `Basemap.__init__`. This will set default axis
658+
instance, which can be overridden by using `"ax"` keyword in method calls
659+
(**API change**).
654660

655661
## 0.5.1 - 2005-06-26
656662

657-
- Add ability to specify an existing axis instance in all `Basemap` methods
658-
(instead of just using current one). Default is still to use the current
659-
axis instance.
663+
- Add `"ax"` keyword to most `Basemap` methods to allow use of a pre-existing
664+
`Axes` instance. Default is still to use the current instance.
660665
- Full control of font properties for parallel and meridian labels (now uses
661-
unicode instead of mathtext for degree symbol).
666+
unicode instead of mathtext for degree symbol). Replace `"font"` and
667+
`"fontsize"` keyword args for `drawparallels` and `drawmeridians` replaced by
668+
`**kwargs`, which is passed directly to `Axes.text` method (**API change**).
662669

663670
## 0.5.0 - 2005-06-02
664671

@@ -675,6 +682,8 @@ since version 1.3.0.
675682
- `drawparallels` and `drawmeridians` methods now take optional keyword
676683
arguments `"xoffset"` and `"yoffset"`, which control how far from the edge of
677684
the map labels are drawn.
685+
- Make `llcrnrlon`, `llcrnrlat`, `urcrnrlon` and `urcrnrlat` optional
686+
keyword arguments in `Basemap.__init__` (**API change**).
678687

679688
## 0.4.3 - 2005-05-11
680689

@@ -683,9 +692,9 @@ since version 1.3.0.
683692

684693
## 0.4.2 - 2005-05-10
685694

686-
- `transform_vector` now does a simple rotation of the vector from geographic
687-
to map coordinates, preserving the vector magnitude (removed
688-
`"preserve_magnitude"` keyword).
695+
- Remove `"preserve_magnitude"` keyword from `transform_vector`. Now
696+
`transform_vector` does a simple rotation of the vector from geographic
697+
to map coordinates, preserving the vector magnitude (**API change**).
689698
- Fix minor bugs in Miller and Mercator projections.
690699
- Add Gnomonic, Cassini-Soldner and Polyconic projections (now 13 projections
691700
supported).
@@ -729,7 +738,8 @@ since version 1.3.0.
729738
- Fix aspect ratio of mercator plots.
730739
- Add `set_axes_limits`, `plot`, `scatter`, `contourf`, `contour`, `pcolor` and
731740
`quiver` methods.
732-
- `axes` instance no longer a method argument (API change).
741+
- `axes` instance no longer a method argument to any `Basemap` method,
742+
`gca` is called to obtain the current axes instance instead (**API change**).
733743

734744
## 0.2.1 - 2005-04-10
735745

0 commit comments

Comments
 (0)