adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.09 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.09/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
nullcone has joined #ocaml
schrsi has left #ocaml [#ocaml]
jao has joined #ocaml
okuu is now known as unyu
Nahra has quit [Quit: leaving]
Haudegen has quit [Ping timeout: 268 seconds]
wingsorc has joined #ocaml
jao has quit [Ping timeout: 260 seconds]
nullcone has quit [Quit: Connection closed for inactivity]
luna_is_here_ has quit [Ping timeout: 240 seconds]
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 268 seconds]
kleisli has quit [Ping timeout: 258 seconds]
kleisli has joined #ocaml
ggole has joined #ocaml
andreas303 has quit [Ping timeout: 240 seconds]
gravicappa has joined #ocaml
unyu has quit [Quit: restart]
unyu has joined #ocaml
mbuf has joined #ocaml
gravicappa has quit [Ping timeout: 258 seconds]
vicfred has joined #ocaml
dborisog has joined #ocaml
mbuf has quit [Ping timeout: 260 seconds]
mbuf has joined #ocaml
wingsorc_ has joined #ocaml
assemblyman has joined #ocaml
wingsorc has quit [Ping timeout: 248 seconds]
wingsorc_ has quit [Quit: Leaving]
sagax has quit [Read error: Connection reset by peer]
sagax has joined #ocaml
sagax has quit [Remote host closed the connection]
brettgilio has quit [Ping timeout: 260 seconds]
assemblyman has quit [Quit: ™]
mbuf has quit [Quit: Leaving]
sagax has joined #ocaml
narimiran has joined #ocaml
ygrek has joined #ocaml
oni-on-ion has quit [Quit: Quit]
greenbagels has quit [Quit: WeeChat 1.6]
greenbagels has joined #ocaml
gravicappa has joined #ocaml
madroach has joined #ocaml
madroach_ has quit [Ping timeout: 264 seconds]
okuu has joined #ocaml
unyu has quit [Ping timeout: 260 seconds]
okuu is now known as unyu
_whitelogger has joined #ocaml
bartholin has joined #ocaml
rcabaco has quit [Ping timeout: 248 seconds]
bartholin has quit [Quit: Leaving]
_whitelogger has joined #ocaml
_whitelogger has joined #ocaml
jnavila has joined #ocaml
jnavila has quit [Ping timeout: 246 seconds]
rcabaco has joined #ocaml
narimiran has quit [Ping timeout: 260 seconds]
jnavila has joined #ocaml
ygrek has quit [Ping timeout: 258 seconds]
dmiles has quit [Read error: Connection reset by peer]
dmiles has joined #ocaml
luna_is_here_ has joined #ocaml
zwindl[m] has quit [Quit: killed]
prsafont[m] has quit [Quit: killed]
keep-learning[m] has quit [Quit: killed]
sepp2k has quit [Quit: killed]
dl3br[m] has quit [Read error: Connection reset by peer]
isaachodes[m] has quit [Quit: killed]
jimt[m] has quit [Quit: killed]
peddie has quit [Quit: killed]
Virgile[m] has quit [Quit: killed]
copy` has quit [Quit: killed]
aspiwack[m] has quit [Quit: killed]
rgr[m] has quit [Quit: killed]
zapashcanon[m] has quit [Quit: killed]
hdurer[m] has quit [Quit: killed]
stan[m] has quit [Quit: killed]
aecepoglu[m] has quit [Quit: killed]
Haudegen[m] has quit [Quit: killed]
regnat[m] has quit [Quit: killed]
cgenie[m] has quit [Quit: killed]
flux1 has quit [Quit: killed]
otini has quit [Quit: killed]
pc9801[m] has quit [Quit: killed]
jnavila has quit [Ping timeout: 260 seconds]
Haudegen has joined #ocaml
_whitelogger has joined #ocaml
peddie has joined #ocaml
Haudegen[m] has joined #ocaml
aspiwack[m] has joined #ocaml
flux1 has joined #ocaml
zwindl[m] has joined #ocaml
copy` has joined #ocaml
jimt[m] has joined #ocaml
aecepoglu[m] has joined #ocaml
zapashcanon[m] has joined #ocaml
hdurer[m] has joined #ocaml
keep-learning[m] has joined #ocaml
rgr[m] has joined #ocaml
cgenie[m] has joined #ocaml
prsafont[m] has joined #ocaml
stan[m] has joined #ocaml
otini has joined #ocaml
pc9801[m] has joined #ocaml
Virgile[m] has joined #ocaml
regnat[m] has joined #ocaml
isaachodes[m] has joined #ocaml
dl3br[m] has joined #ocaml
sepp2k has joined #ocaml
narimiran has joined #ocaml
jao has joined #ocaml
webshinra has quit [Remote host closed the connection]
Haudegen has quit [Ping timeout: 240 seconds]
andreas303 has joined #ocaml
ygrek has joined #ocaml
jao has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 248 seconds]
spew has joined #ocaml
jave has quit [Ping timeout: 246 seconds]
jave has joined #ocaml
tane has joined #ocaml
_whitelogger has joined #ocaml
jao has joined #ocaml
vicfred has quit [Quit: Leaving]
andreas303 has quit [Ping timeout: 240 seconds]
andreas303 has joined #ocaml
jnavila has joined #ocaml
steenuil has joined #ocaml
steenuil has quit [Client Quit]
oni-on-ion has joined #ocaml
Haudegen has joined #ocaml
Haudegen has quit [Ping timeout: 260 seconds]
<dborisog> Drup: I am trying to rotate SVG text element as in the following url ( https://www.w3schools.com/graphics/tryit.asp?filename=trysvg_text2 ); according to the documentation and the lack of error messages the following line shoud work yet the SVG text remain untouched by this attribute "; a_transform [ `Rotate ( ( 90. , Some `Deg ) , Some (0., 0.) ) ]". Is there any problems with this code? Am I mi
<Drup> dborisog: have you tried using the ppx ?
<dborisog> The following part of the documentation ( https://ocsigen.org/tyxml/4.3.0/api/Svg_types#TYPEtransform ) shows no other options for me, and it seems in-line with row 253( https://github.com/ocsigen/tyxml/blob/9e38c1d6d7566ed0910ce08877352e4339a390db/test/test_ppx.ml )
<dborisog> Drup: I'm not sure ) I need to hit the docs for the differences in syntax to answer your question.
<dborisog> Drup, with the following code I think I am using the non-ppx alternative.
<dborisog> let yaxis_label ~size ~margin ~yaxis_text =
<dborisog> let yaxis_text = yaxis_text
<dborisog> in Svg.D.[
<dborisog> in let ycoord = size.height_p /. 2.
<dborisog> in let xcoord = margin.left /. 3.
<dborisog> text
<dborisog> ~a:
<dborisog> [ a_x_list [xcoord, Some `Px] ; a_y_list [ycoord, Some `Px]
<dborisog> ; a_text_anchor `Middle ; a_dominant_baseline `Middle
<dborisog> ; a_fill (`Color ("black", None)) ; a_font_size "16"
<dborisog> ; a_transform [ `Rotate ( ( 90. , Some `Deg ) , Some (0., 0.) ) ]
<dborisog> ]
<dborisog> [txt yaxis_text]
<dborisog> ]
<Drup> yes, I know. I'm suggesting to use the ppx to create svg, since it's quite easier :)
<dborisog> I almost wrapped my mind around this way, and seems the un-wrapping is in order )) Thank you for the advice )
tane has quit [Ping timeout: 268 seconds]
tane has joined #ocaml
dborisog has quit [Ping timeout: 260 seconds]
jnavila has quit [Ping timeout: 256 seconds]
kleisli has quit [Ping timeout: 265 seconds]
gareppa has joined #ocaml
jnavila has joined #ocaml
gareppa has quit [Quit: Leaving]
jnavila has quit [Ping timeout: 246 seconds]
ggole has quit [Quit: Leaving]
kakadu_ has joined #ocaml
jnavila has joined #ocaml
jao has quit [Ping timeout: 258 seconds]
brettgilio has joined #ocaml
kakadu__ has joined #ocaml
kakadu_ has quit [Ping timeout: 260 seconds]
kakadu__ has quit [Ping timeout: 260 seconds]
kakadu_ has joined #ocaml
jnavila_ has joined #ocaml
jnavila has quit [Ping timeout: 256 seconds]
narimiran has quit [Ping timeout: 260 seconds]
kleisli has joined #ocaml
Haudegen has joined #ocaml
kleisli has quit [Ping timeout: 260 seconds]
gravicappa has quit [Ping timeout: 265 seconds]
jnavila_ has quit [Quit: Konversation terminated!]
jao has joined #ocaml
kakadu_ has quit [Remote host closed the connection]
unyu has quit [Quit: goddamn you emacs]
unyu has joined #ocaml
kleisli has joined #ocaml