Skip to content

Instantly share code, notes, and snippets.

View parmentelat's full-sized avatar

parmentelat

  • Inria
  • Sophia Antipolis - France
View GitHub Profile
########## defaults for columns widths - for FUN
# this historically was called 'columns' as it was used to specify
# the width of the 3 columns (in correction mode)
# or of the 2 columns (in example mode)
# however when adding new layouts like 'text', the argument passed to the layout
# function ceased to be a column width, so we call this layout_args instead
# but in most cases this does represent column widths
default_layout_args = (24, 28, 28)
import pandas as pd
from minisim import Infiltration, Inhabitant, Zone, Weather
import pytest
# using an instance to pass global-like variables among tests
class Vars: pass
@pytest.fixture
<style id="jsbin-css">
* {
border: 1px solid black;
}
div {
background: red;
margin: 30px;
}
section {
margin: 20px;