4efec68c6466eddb99754bcfc97df3f53891b5f3,pymc/plots.py,,autocorrplot,#Any#Any#Any#Any#,141

Before Change


        fontmap = {1: 10, 2: 8, 3: 6, 4: 5, 5: 4}

    if vars is None:
        vars = traces[0].varnames

    // Extract sample data
    samples = [{v: trace[v] for v in vars} for trace in traces]

    chains = len(traces)

    n = len(samples[0])
    f, ax = plt.subplots(n, chains, squeeze=False)

    max_lag = min(len(samples[0][vars[0]])-1, max_lag)

After Change


    if vars is None:
        vars = trace.varnames
    else:
        vars = [str(var) for var in vars]

    chains = trace.nchains

    f, ax = plt.subplots(len(vars), chains, squeeze=False)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: pymc-devs/pymc3
Commit Name: 4efec68c6466eddb99754bcfc97df3f53891b5f3
Time: 2014-04-09
Author: kyle@kyleam.com
File Name: pymc/plots.py
Class Name:
Method Name: autocorrplot


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 4fba45fe94a48f0287379e21ac2a0b50eaa6f642
Time: 2020-08-27
Author: 31265687+cumason123@users.noreply.github.com
File Name: run/events-storage/main_test.py
Class Name:
Method Name:


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 73d474237e19dc5df863739a754e6e3fa50b247f
Time: 2020-08-27
Author: 31265687+cumason123@users.noreply.github.com
File Name: run/events-pubsub/main_test.py
Class Name:
Method Name: