I hereby claim:
- I am jackhowa on github.
- I am jackhowa (https://keybase.io/jackhowa) on keybase.
- I have a public key ASCUXVHzVA6AAyNB0dM69_Olu_PS8QZH-JkKOtnRDseuEgo
To claim this, I am signing this object:
/* | |
1. Use a more-intuitive box-sizing model. | |
via https://www.joshwcomeau.com/css/custom-css-reset/ | |
*/ | |
*, *::before, *::after { | |
box-sizing: border-box; | |
} | |
/* | |
2. Remove default margin | |
*/ |
# DATA BLOCK | |
text = '''he really really loves coffee | |
my sister dislikes coffee | |
my sister loves tea''' | |
import math | |
def main(text): | |
# split the text first into lines and then into lists of words |
def count11(seq): | |
# define this function and return the number of occurrences as a number | |
# define int for occurences of num | |
occurences = 0 | |
# loop through each element | |
# get length of seq | |
seq_length = len(seq) |
{ | |
"eslint.alwaysShowStatus": true, | |
"eslint.format.enable": true, | |
"eslint.lintTask.enable": true, | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
}, | |
"[scss]": { | |
"editor.codeActionsOnSave": { |
const MONTH_NAMES = [ | |
'January', | |
'February', | |
'March', | |
'April', | |
'May', | |
'June', | |
'July', | |
'August', | |
'September', |
def main(): | |
portnames = ["PAN", "AMS", "CAS", "NYC", "HEL"] | |
# generate list of 1, 2, 3, 4 | |
check = range(1,5) | |
port1 = 0 | |
for port2 in range(1, 5): | |
for port3 in range(1, 5): | |
for port4 in range(1, 5): | |
for port5 in range(1, 5): |
I hereby claim:
To claim this, I am signing this object:
Working on adding left domainPadding to a group of many bars. I'm having success with pushing other graphs over. But, when there's 24 groups, the spacing doesn't seem to be working. Oddly, padding can be applied on the right.
I've tried adding domain padding to the children as well. But, as far as I understand, domainPadding is best applied to the parent. I've also looked into styling the victory groups differently, with padding. But that hasn't affected the left domain padding.
export default function GroupedBarChart(props) {
const { groups, barWidth } = props;