diff --git a/docs/source/z_fixings.rst b/docs/source/z_fixings.rst index 5522cba5..63d568da 100644 --- a/docs/source/z_fixings.rst +++ b/docs/source/z_fixings.rst @@ -79,7 +79,7 @@ index lag is 2 business days so the fixing for the below *IRS* effective as of leg2_fixings=defaults.fixings["sek_ibor_3m"], fixed_rate=2.00, ) - curve = Curve({dt(2023, 1, 3): 1.0, dt(2024, 1, 3): 0.98}) + curve = Curve({dt(2023, 1, 3): 1.0, dt(2024, 1, 3): 0.97}) irs.cashflows(curve) irs.leg2.fixings_table(curve) diff --git a/rateslib/calendars.py b/rateslib/calendars.py index cd917ffd..a77370fa 100644 --- a/rateslib/calendars.py +++ b/rateslib/calendars.py @@ -746,6 +746,8 @@ def add_tenor( import pandas as pd from pandas import date_range, Series, DataFrame pd.set_option("display.float_format", lambda x: '%.2f' % x) + pd.set_option("display.max_columns", None) + pd.set_option("display.width", 500) .. ipython:: python