@@ -1129,7 +1129,7 @@ client = Axiomatic(
11291129 api_key = " YOUR_API_KEY" ,
11301130)
11311131client.digital_twin.optimize(
1132- model_name = " PNJunctionSiliconOnInsulatorWavelength " ,
1132+ model_name = " RingModulatorSiliconOnInsulatorAllPassWavelength " ,
11331133 parameters = [
11341134 NamedQuantity(
11351135 name = " name" ,
@@ -1307,7 +1307,7 @@ client = Axiomatic(
13071307 api_key = " YOUR_API_KEY" ,
13081308)
13091309client.digital_twin.evaluate(
1310- model_name = " PNJunctionSiliconOnInsulatorWavelength " ,
1310+ model_name = " RingModulatorSiliconOnInsulatorAllPassWavelength " ,
13111311 parameters = [
13121312 NamedQuantity(
13131313 name = " name" ,
@@ -2028,6 +2028,125 @@ client.document.expression.process(
20282028</dl >
20292029
20302030
2031+ </dd >
2032+ </dl >
2033+ </details >
2034+
2035+ <details ><summary ><code >client.document.expression.<a href =" src/axiomatic/document/expression/client.py " >sympy_plot</a >(...)</code ></summary >
2036+ <dl >
2037+ <dd >
2038+
2039+ #### 📝 Description
2040+
2041+ <dl >
2042+ <dd >
2043+
2044+ <dl >
2045+ <dd >
2046+
2047+ generate a sympy plot for a given expression
2048+ </dd >
2049+ </dl >
2050+ </dd >
2051+ </dl >
2052+
2053+ #### 🔌 Usage
2054+
2055+ <dl >
2056+ <dd >
2057+
2058+ <dl >
2059+ <dd >
2060+
2061+ ``` python
2062+ from axiomatic import (
2063+ Axiomatic,
2064+ Expression,
2065+ Symbol,
2066+ SympyPlotVariable,
2067+ ValidationResult,
2068+ )
2069+
2070+ client = Axiomatic(
2071+ api_key = " YOUR_API_KEY" ,
2072+ )
2073+ client.document.expression.sympy_plot(
2074+ expression = Expression(
2075+ name = " name" ,
2076+ description = " description" ,
2077+ original_format = " original_format" ,
2078+ wolfram_expression = " wolfram_expression" ,
2079+ symbols = {
2080+ " key" : Symbol(
2081+ name = " name" ,
2082+ wolfram_format = " wolfram_format" ,
2083+ latex_representation = " latex_representation" ,
2084+ dimension = " dimension" ,
2085+ description = " description" ,
2086+ type = " scalar" ,
2087+ validations = {
2088+ " key" : ValidationResult(
2089+ is_valid = True ,
2090+ message = " message" ,
2091+ )
2092+ },
2093+ )
2094+ },
2095+ narrative_assumptions = [" narrative_assumptions" ],
2096+ exp_validations = {
2097+ " key" : ValidationResult(
2098+ is_valid = True ,
2099+ message = " message" ,
2100+ )
2101+ },
2102+ ),
2103+ variables = [
2104+ SympyPlotVariable(
2105+ symbol = " symbol" ,
2106+ span = [1.1 ],
2107+ feature = " x" ,
2108+ )
2109+ ],
2110+ )
2111+
2112+ ```
2113+ </dd >
2114+ </dl >
2115+ </dd >
2116+ </dl >
2117+
2118+ #### ⚙️ Parameters
2119+
2120+ <dl >
2121+ <dd >
2122+
2123+ <dl >
2124+ <dd >
2125+
2126+ ** expression:** ` Expression `
2127+
2128+ </dd >
2129+ </dl >
2130+
2131+ <dl >
2132+ <dd >
2133+
2134+ ** variables:** ` typing.Sequence[SympyPlotVariable] `
2135+
2136+ </dd >
2137+ </dl >
2138+
2139+ <dl >
2140+ <dd >
2141+
2142+ ** request_options:** ` typing.Optional[RequestOptions] ` — Request-specific configuration.
2143+
2144+ </dd >
2145+ </dl >
2146+ </dd >
2147+ </dl >
2148+
2149+
20312150</dd >
20322151</dl >
20332152</details >
0 commit comments