1d7ee2ce7679c12229688fb04b23157b44a60593,arviz/plots/plot_utils.py,,make_2d,#Any#,9

Before Change


    ary = np.atleast_2d(ary.T).T
    // flatten out dimensions beyond the first
    first_dim = ary.shape[0]
    newshape = np.product(ary.shape[1:]).astype(int)
    ary = ary.reshape((first_dim, newshape), order="F")
    return ary

After Change


    In case the array is already more than 2 dimensional, will ravel the
    dimensions after the first.
    
    dim_0, *_ = np.atleast_1d(ary).shape
    return ary.reshape(dim_0, -1, order="F")


def _scale_text(figsize, textsize, scale_ratio=2):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: arviz-devs/arviz
Commit Name: 1d7ee2ce7679c12229688fb04b23157b44a60593
Time: 2018-09-19
Author: ahartikainen@users.noreply.github.com
File Name: arviz/plots/plot_utils.py
Class Name:
Method Name: make_2d


Project Name: SheffieldML/GPy
Commit Name: 0dc9a32ba3d1b7034978930af228adb63c04d72b
Time: 2014-02-21
Author: james.hensman@gmail.com
File Name: GPy/kern/_src/linear.py
Class Name: Linear
Method Name: update_gradients_variational


Project Name: uqfoundation/mystic
Commit Name: 19ff37bfddbf24c85817e5d4d5cc468f0dc25691
Time: 2018-06-07
Author: mmckerns@968178ea-60bd-409e-af13-df8a517b6005
File Name: mystic/svr.py
Class Name:
Method Name: _euclidean_distance