Skip to content

Commit 27593d5

Browse files
committed
Add colab URL
1 parent 744c949 commit 27593d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you want to use developmental version, it can be installed using the followin
1919
#### 03272022: Version 0.4.0 is released.
2020
- Add docstring for each method and class
2121
- Add some new methods of `patchworklib.Bricks` class to set common label, title, spine and colorbar for `Brick` objets in the `Bricks` object.
22-
 For usage, please refer to the docstring or the example codes on [Google colab]().
22+
 For usage, please refer to the docstring or the example codes on [Google colab](https://colab.research.google.com/drive/1f06AQOqNnSYPjc9EkweC3_Hmy4abr-go?usp=sharing).
2323

2424
#### 02042022: Version 0.3.6 is released.
2525
- Sum bugs relating with the function to arrange multiple polar plot objects.

patchworklib/patchworklib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,9 +1330,9 @@ def set_index(self, index, x=None, y=None, **args):
13301330
mx0, mx1, my0, my1 = self.get_middle_corner()
13311331
ix0, ix1, iy0, iy1 = self.get_inner_corner()
13321332
if x is None:
1333-
x = -1.05 * (abs(ox0-mx0))/abs(mx1-mx0)
1333+
x = -1.01 * (abs(ox0-mx0))/abs(mx1-mx0)
13341334
if y is None:
1335-
y = 1.05 * abs(oy1-my0)/abs(my1-my0)
1335+
y = 1.01 * abs(oy1-my0)/abs(my1-my0)
13361336
return self._case.text(x, y, index, **args)
13371337

13381338
def set_text(self, x, y, text, **args):

0 commit comments

Comments
 (0)