Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Bump required C++ standard to c++17#27012
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Extensions require C++17 | ||
~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Matplotlib now requires a compiler that supports C++17 in order to build its extensions. | ||
According to `SciPy's analysis | ||
<https://docs.scipy.org/doc/scipy/dev/toolchain.html#c-language-standards>`_, this | ||
should be available on all supported platforms. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -10,41 +10,40 @@ | ||
* */ | ||
const char* image_resample__doc__ = | ||
R"""(Resample input_array, blending it in-place into output_array, using an affine transform. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. extraneous paren There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. No, this is C++11 raw string literal syntax; it's There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Oh! Yes, it is! Actually, let's keep it this way. I just haven't encountered it enough to recognize it for what it was. | ||
Parameters | ||
---------- | ||
input_array : 2-d or 3-d NumPy array of float, double or `numpy.uint8` | ||
If 2-d, the image is grayscale. If 3-d, the image must be of size 4 in the last | ||
dimension and represents RGBA data. | ||
output_array : 2-d or 3-d NumPy array of float, double or `numpy.uint8` | ||
The dtype and number of dimensions must match `input_array`. | ||
transform : matplotlib.transforms.Transform instance | ||
The transformation from the input array to the output array. | ||
interpolation : int, default: NEAREST | ||
The interpolation method. Must be one of the following constants defined in this | ||
module: | ||
NEAREST, BILINEAR, BICUBIC, SPLINE16, SPLINE36, HANNING, HAMMING, HERMITE, KAISER, | ||
QUADRIC, CATROM, GAUSSIAN, BESSEL, MITCHELL, SINC, LANCZOS, BLACKMAN | ||
resample : bool, optional | ||
When `True`, use a full resampling method. When `False`, only resample when the | ||
output image is larger than the input image. | ||
alpha : float, default: 1 | ||
The transparency level, from 0 (transparent) to 1 (opaque). | ||
norm : bool, default: False | ||
Whether to norm the interpolation function. | ||
radius: float, default: 1 | ||
The radius of the kernel, if method is SINC, LANCZOS or BLACKMAN. | ||
)"""; | ||
static pybind11::array_t<double> | ||