Skip to content

Commit

Permalink
BUD: doc display problems fix
Browse files Browse the repository at this point in the history
attack68 committed Nov 18, 2023
1 parent b86c430 commit ef4f7e9
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/z_fixings.rst
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 2 additions & 0 deletions rateslib/calendars.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ef4f7e9

Please sign in to comment.