447b4ca4dc6ccb223ac3a178abd845bb6d611258,doc/examples/scripts/structure/base_pairs.py,,,#,24

Before Change


    )
    arc_diameter = abs(atom_array.res_id[base2] - atom_array.res_id[base1])

    arc = Arc(
        arc_center, arc_diameter, arc_diameter, 180, theta1=180, theta2=0,
        color=biotite.colors["dimorange"]
    )

    ax.add_patch(arc)

// Display the plot

After Change


residue_ids, residue_names = struc.get_residues(nucleotides)

// Create a matplotlib pyplot
fig, ax = plt.subplots(figsize=(8.0, 4.5))

// Setup the axis
ax.set_xlim(1, len(residue_ids))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: biotite-dev/biotite
Commit Name: 447b4ca4dc6ccb223ac3a178abd845bb6d611258
Time: 2020-05-26
Author: tom.mueller@beachouse.de
File Name: doc/examples/scripts/structure/base_pairs.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 98ab2a07920610dae862d95363243572a84ea2c7
Time: 2020-06-16
Author: tcaswell@gmail.com
File Name: lib/matplotlib/tests/test_patches.py
Class Name:
Method Name: test_large_arc


Project Name: matplotlib/matplotlib
Commit Name: d67550cee52588a9ff3cff49fbc45b0d878bca9a
Time: 2020-06-16
Author: tcaswell@gmail.com
File Name: lib/matplotlib/tests/test_patches.py
Class Name:
Method Name: test_large_arc